Abdullah bin Abbas reported,

The Messenger of Allah ﷺ prayed at Dhu Qarad. The people lined up behind him in two rows, one row directly behind him and another row facing the enemy. He led the row behind him in one rakah, then they moved to the position of the others, and the other group came forward. He led them in one rakah, and neither group made up the missed rakah.

Nasai 1534

Sahih

أخبرنا محمد بن بشار قال حدثنا يحيى بن سعيد عن سفيان قال حدثني أبو بكر بن أبي الجهم عن عبيد الله بن عبد الله

عن ابن عباس

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

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