فَاِنْ خِفْتُمْ فَرِجَالًا اَوْ رُكْبَانًاۚ فَاِذَا͏ٓ اَمِنْتُمْ فَاذْكُرُوا اللّٰهَ كَمَا عَلَّمَكُمْ مَّا لَمْ تَكُوْنُوْا تَعْلَمُوْنَ ٢٣٩
Translation
and should you fear [a danger], then [pray] on foot or mounted, and when you are safe remember Allah, as He taught you what you did not know.