and Jabir (1), may Allah be pleased with them, that when the polytheists saw the Messenger of Allah, peace and blessings be upon him, and his Companions rise to perform the noon prayer in congregation, they regretted not having attacked them. Some of them said to the others, “Leave them, for after this they have a prayer dearer to them than their fathers and their sons”—meaning the afternoon prayer. “When they rise for it, attack them and kill them.” Then Gabriel, peace be upon him, descended and said, “O Muhammad, this is the Prayer of Fear, and Allah, exalted is He, says: ‘When you are among them and lead them in prayer.’” He then taught him the Prayer of Fear.
In summary: when the enemy are encamped in a direction other than the direction of prayer, the imam divides the people into two groups. One group stands facing the enemy, guarding against them, while the imam begins the prayer with the other group. After leading them in one prayer cycle, he rises and remains standing until they complete their prayer. They then go to face the enemy, and the second group comes forward. He leads them in the second cycle, then remains seated until they complete the prayer by themselves, after which he concludes the prayer with them. This is the narration of Sahl ibn Abi Hathmah, may Allah be pleased with him: the Prophet, peace and blessings be upon him, prayed in this manner at Dhat al-Riqa'. This was the view adopted by Malik, al-Shafi'i, Ahmad, and Ishaq.
Abu al-Hasan al-Sarakhsi informed us: Zahir ibn Ahmad informed us; Abu Ishaq al-Hashimi informed us; Abu Mus'ab informed us, from Malik, from Yazid ibn Ruman, from Salih ibn Khawwat, from one who prayed the Prayer of Fear with the Prophet, peace and blessings be upon him, on the day of Dhat al-Riqa': One group formed a row with him, while another group formed a row facing the enemy. He led the group with him in one prayer cycle, then remained standing while they completed their prayer by themselves. They then departed and formed a row facing the enemy, and the other group came forward. He led them in the remaining cycle, then remained seated while they completed the prayer by themselves; he then concluded the prayer with them (2). Malik said, “This is the best account I have heard concerning the Prayer of Fear” (3).
Abd al-Wahid al-Mulayhi informed us: Ahmad ibn Abdullah al-Nu'aymi informed us; Muhammad ibn Yusuf informed us; Muhammad ibn Isma'il informed us; Musaddad informed us; Yahya informed us, from Shu'bah, from Abd al-Rahman ibn al-Qasim, from his father, from Salih ibn Khawwat, from Sahl ibn Abi Hathmah, may Allah be pleased with him, from the Prophet, peace and blessings be upon him, with this same report (4).
A group held that when the imam rises for the second prayer cycle, the first group goes during the prayer to face the enemy, and the second group comes forward. He then leads them in the second cycle and concludes the prayer, but they do not conclude it; rather, they go to face the enemy. The first group then returns and completes its prayer, after which the second group returns and completes its prayer. This is the narration of Abdullah ibn Umar, may Allah