The Prophet ﷺ performed the prayer of fear with one of the two groups, leading them in one bowing and two prostrations, while the other group faced the enemy. Then the group that had prayed with the Prophet ﷺ withdrew, and the other group came forward, and the Prophet ﷺ led them in one bowing and two prostrations. Then the Prophet ﷺ gave the closing salam. After that, each man from both groups stood up and performed for himself one bowing and two prostrations.
حدثنا أبو المغيرة حدثنا الأوزاعي عن أيوب بن موسى عن نافع
أن النبي ﷺ صلى صلاة الخوف بإحدى الطائفتين ركع ركعة وسجدتين والطائفة الأخرى مواجهة العدو ثم انصرفت الطائفة التي مع النبي ﷺ وأقبلت الطائفة الأخرى فصلى بها النبي ﷺ ركعة وسجدتين ثم سلم النبي ﷺ ثم قام كل رجل من الطائفتين فركع لنفسه ركعة وسجدتين