Sunan Ibn Majah – Hadith No : 1316

It wasnarrated that Ibn ‘Umar said: “The Messenger of Allah (ﷺ)saidconcerning the fear prayer: “The Imam should lead one group inprayer, and they should perform one prostration, and there should beanother group between them and the enemy (guarding them). Then thosewho did the prostration with their leader should move away, and takethe place of those who have not yet prayed. Then those who have notyet prayed should come forward and perform one prostration with theirleader. Then their leader should move away, and his prayer will becomplete. Then each group should perform one prostration by itself.Ifthe fear is too great, then (they should pray) on foot orriding.’” Hesaid: What is meant by prostration here is a Rak’ah.

Hadith In Arabic Text :

حدثنا محمد بن الصباح، أنبأنا جرير، عن عبيد الله بن عمر، عن نافع، عن ابن عمر، قال قال رسول الله صلى الله عليه وسلم في صلاة الخوف ‏”‏ أن يكون الإمام يصلي بطائفة معه فيسجدون سجدة واحدة وتكون طائفة منهم بينهم وبين العدو ثم ينصرف الذين سجدوا السجدة مع أميرهم ثم يكونون مكان الذين لم يصلوا ويتقدم الذين لم يصلوا فيصلوا مع أميرهم سجدة واحدة ثم ينصرف أميرهم وقد صلى صلاته ويصلي كل واحدة من الطائفتين بصلاته سجدة لنفسه فإن كان خوف أشد من ذلك فرجالا أو ركبانا ‏”‏ ‏.‏ قال يعني بالسجدة الركعة ‏.‏

Chapter : Establishing the Prayer and the Sunnah Regarding Them – كتاب إقامة الصلاة والسنة فيها