וַיְהִ֨י הַשַּׁ֜עַר לִסְגּ֗וֹר בַּחֹ֙שֶׁךְ֙ וְהָאֲנָשִׁ֣ים יָצָ֔אוּ לֹ֣א יָדַ֔עְתִּי אָ֥נָה הָלְכ֖וּ הָֽאֲנָשִׁ֑ים רִדְפ֥וּ מַהֵ֛ר אַחֲרֵיהֶ֖ם כִּ֥י תַשִּׂיגֽוּם׃
and it came to pass about the time of the shutting of the gate, when it was dark, that the men went out; whither the men went I know not; pursue after them quickly; for ye shall overtake them.’
Read halakhic rulings (Jewish law) on Joshua 2:5: and classical halakhic sources.