Jabir bin Abdullah reported,

We were with the Messenger of Allah ﷺ when the prayer was called. The Messenger of Allah ﷺ stood up, and one group stood behind him while another group faced the enemy. He led those behind him in one rakah, performing two prostrations with them. Then they departed and took the position of those who had been facing the enemy, and that other group came forward. The Messenger of Allah ﷺ led them in one rakah and performed two prostrations with them. Then the Messenger of Allah ﷺ gave the salutation, and those behind him gave the salutation, and the others gave the salutation as well.

Nasai 1547

Sahih

أخبرنا أحمد بن المقدام قال حدثنا يزيد بن زريع قال حدثنا عبد الرحمن بن عبد الله المسعودي قال أنبأني يزيد الفقير أنه سمع

جابر بن عبد الله قال

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

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