Praying with Weapons
When you lead them in prayer, let a group stand with you while armed, and when they finish, let another group take their place. Let them remain cautious with their weapons. The disbelievers wish you would neglect your arms and belongings so they could attack you suddenly. But there is no blame if you set aside your weapons due to rain or illness, just remain vigilant.
4:102And when thou (O Muhammad) art among them and arrangest (their) worship for them, let only a party of them stand with thee (to worship) and let them take their arms. Then when they have performed their prostrations let them fall to the rear and let another party come that hath not worshipped and let them worship with thee, and let them take their precaution and their arms. Those who disbelieve long for you to neglect your arms and your baggage that they may attack you once for all. It is no sin for you to lay aside your arms, if rain impedeth you or ye are sick. But take your precaution. Lo! Allah prepareth for the disbelievers shameful punishment.
When you complete the prayer, remember Allah, standing, sitting, and lying down. Then, when you feel secure, establish regular prayer. Prayer is a duty for believers at appointed times.
4:103When ye have performed the act of worship, remember Allah, standing, sitting and reclining. And when ye are in safety, observe proper worship. Worship at fixed times hath been enjoined on the believers.