Huzaifa bin Yaman reported,

"Which of you prayed the prayer of fear with the Messenger of Allah ﷺ?"Hudhayfah replied, "I did," and he described it.He said, "The Messenger of Allah ﷺ led the prayer of fear with one group lined up behind him in a single row, while another group stood between him and the enemy. He prayed one rakah with the group nearest to him, then they withdrew to take the position of the others, and the others came forward, and he prayed one rakah with them."

Nasai 1530

Sahih

أخبرنا إسحق بن إبراهيم قال حدثنا وكيع قال حدثنا سفيان عن الأشعث بن أبي الشعثاء عن الأسود بن هلال عن ثعلبة بن زهدم قال كنا مع سعيد بن العاصي بطبرستان ومعنا

حذيفة بن اليمان فقال

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

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