The scholars are all in agreement about the legality of "fearprayer" (salatul Khauf). The Qur'an says: "When You (O Prophet) arewith them, and stand to lead them in prayer, let one party of them stand up (inprayer) with you, taking their arms with them. When they finish prostrations,let them take their position in the rear.