وَإِذَا ضَرَبۡتُمۡ فِي ٱلۡأَرۡضِ فَلَيۡسَ عَلَيۡكُمۡ جُنَاحٌ أَن تَقۡصُرُواْ مِنَ ٱلصَّلَوٰةِ إِنۡ خِفۡتُمۡ أَن يَفۡتِنَكُمُ ٱلَّذِينَ كَفَرُوٓاْۚ إِنَّ ٱلۡكَٰفِرِينَ كَانُواْ لَكُمۡ عَدُوّٗا مُّبِينٗا ١٠١
Wa idhā darabtum fil-ardi falaysa 'alaykum junāhun an taqsurū minas-salawāti in khiftum an yaftinakumul-ladhīna kafarū innal-kāfirīna kānū lakum 'aduwwam mubīnā
And when you travel throughout the land, there is no blame upon you for shortening the prayer,215 [especially] if you fear that those who disbelieve may disrupt [or attack] you.216 Indeed, the disbelievers are ever to you a clear enemy.
Footnotes
215 The four rakʿah prayers are shortened to two rakʿahs.
216 The example of the Prophet (ﷺ) and his companions illustrates that fear is not a condition for this allowance, merely travel.