Sahl bin Abu Hathma reported,

The Messenger of Allah ﷺ led them in the prayer of fear. One row stood behind him while another row faced the enemy. He prayed one rakah with those behind him, then they moved away and the others came forward, and he prayed one rakah with them. Then both groups stood and completed one rakah each on their own.

Nasai 1537

Sahih

أخبرنا عمرو بن علي قال حدثنا يحيى قال حدثنا شعبة عن عبد الرحمن بن القاسم عن أبيه عن صالح بن خوات

عن سهل بن أبي حثمة

أن رسول الله ﷺ صلى بهم صلاة الخوف فصف صفا خلفه وصفا مصافو العدو فصلى بهم ركعة ثم ذهب هؤلاء وجاء أولئك فصلى بهم ركعة ثم قاموا فقضوا ركعة ركعة

النسائي 1537صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prayer of fear
Chapter
Prayer of fear
Numbering
Darussalam 1537
Nasai 1537