Salih bin Khawat reported,

It is reported from someone who was present with the Messenger of Allah ﷺ on the day of Dhat al-Riqa that he performed the prayer of fear. One group lined up behind him while another faced the enemy. He prayed one rakah with the group that was with him, then remained standing while they completed the prayer on their own. They then withdrew and took up position facing the enemy.The other group came forward, and he prayed with them the rakah that remained of his prayer, then remained seated while they completed the prayer on their own. He then concluded the prayer with them by giving the salam.

Bukhari 4129

Difficult

حدثنا قتيبة بن سعيد عن مالك عن يزيد بن رومان

عن صالح بن خوات

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

البخاري 4129مشكل
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Expedition of Dhat al-Riqa
Numbering
Darussalam 4129
Bukhari 4129