وَإِذَا كُنتَ فِيهِمْ فَأَقَمْتَ لَهُمُ الصَّلاَةَ فَلْتَقُمْ طَآئِفَةٌ مِّنْهُم مَّعَكَ وَلْيَأْخُذُواْ أَسْلِحَتَهُمْ فَإِذَا سَجَدُواْ فَلْيَكُونُواْ مِن وَرَآئِكُمْ وَلْتَأْتِ طَآئِفَةٌ أُخْرَى لَمْ يُصَلُّواْ فَلْيُصَلُّواْ مَعَكَ وَلْيَأْخُذُواْ حِذْرَهُمْ وَأَسْلِحَتَهُمْ وَدَّ الَّذِينَ كَفَرُواْ لَوْ تَغْفُلُونَ عَنْ أَسْلِحَتِكُمْ وَأَمْتِعَتِكُمْ فَيَمِيلُونَ عَلَيْكُم مَّيْلَةً وَاحِدَةً وَلاَ جُنَاحَ عَلَيْكُمْ إِن كَانَ بِكُمْ أَذًى مِّن مَّطَرٍ أَوْ كُنتُم مَّرْضَى أَن تَضَعُواْ أَسْلِحَتَكُمْ وَخُذُواْ حِذْرَكُمْ إِنَّ اللّهَ أَعَدَّ لِلْكَافِرِينَ عَذَابًا مُّهِينًا
﴿١٠٢﴾
سورة النساء
(4/102) And when you are among them and keep up the prayer for them, let a party of them stand up with you (for prayers), and let them take their arms; then when the others have prostrated themselves let them stand behind you. And let the other party who has not prayed come forward and pray with you and let them take their precautions and their arms. Those who disbelieve desire that you may be careless of your arms and your armour, so that they may then turn upon you with a sudden attack. And there is no sin on you, if you are annoyed with rain or if you are sick that you may lay down your arms. And take your precautions; surely Allah has prepared a disgraceful torment for the disbelievers.
Surah An-Nisa