Abdullah bin Abbas reported,

The Messenger of Allah ﷺ performed the prayer of fear at Dhu Qarad, a place in the territory of Banu Sulaym. The people formed two rows behind him, one row facing the enemy and another row behind him. He led the row nearest to him in one rakah, then this group withdrew to the position of the other group and the other group advanced to the position of the first, and he led them in another rakah.

Ahmad 21592

Sahih

حدثنا وكيع حدثنا سفيان عن أبي بكر بن أبي الجهم بن صخير عن عبيد الله بن عتبة

عن ابن عباس قال

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

أحمد 21592صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Zayd bin Thabit
Numbering
Darussalam 21592
Ahmad 21592