Narrated Salih bin Khawwat:
Concerning those who witnessed the Fear Prayer that was performed in the battle of Dhat-ur-Riqa' in the company of Allah's Apostle;
One batch lined up behind him while another batch (lined up) facing the enemy. The Prophet led the batch that was with him in one Rak'a, and he stayed in the standing posture while that batch completed their (two Rakat) prayer by themselves and went away, lining in the face of the enemy, while the other batch came and he (i.e. the Prophet) offered his remaining Rak'a with them, and then, kept on sitting till they completed their prayer by themselves, and he then finished his prayer with Taslim along with them. Narrated Ibn Az-Zubair: Jabir said, "We were with the Prophet at Nakhl," and then he mentioned the Fear prayer. Narrated Al-Qasim bin Muhammad: The Prophet offered the Fear prayer in the Ghazwa of Banu Anmar.
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكٍ، عَنْ يَزِيدَ بْنِ رُومَانَ، عَنْ صَالِحِ بْنِ خَوَّاتٍ، عَمَّنْ شَهِدَ رَسُولَ اللَّهِ صلى الله عليه وسلم يَوْمَ ذَاتِ الرِّقَاعِ صَلَّى صَلاَةَ الْخَوْفِ أَنَّ طَائِفَةً صَفَّتْ مَعَهُ، وَطَائِفَةٌ وُجَاهَ الْعَدُوِّ، فَصَلَّى بِالَّتِي مَعَهُ رَكْعَةً، ثُمَّ ثَبَتَ قَائِمًا، وَأَتَمُّوا لأَنْفُسِهِمْ ثُمَّ انْصَرَفُوا، فَصَفُّوا وُجَاهَ الْعَدُوِّ، وَجَاءَتِ الطَّائِفَةُ الأُخْرَى فَصَلَّى بِهِمِ الرَّكْعَةَ الَّتِي بَقِيَتْ مِنْ صَلاَتِهِ، ثُمَّ ثَبَتَ جَالِسًا، وَأَتَمُّوا لأَنْفُسِهِمْ، ثُمَّ سَلَّمَ بِهِمْ.
Sahih al-Bukhari, 4130
Sahih al-Bukhari, Vol. 5, Book of Military Expeditions led by the Prophet ﷺ (Maghaazi), Hadith 451
Sahih al-Bukhari, Book of Military Expeditions led by the Prophet ﷺ (Maghaazi), Hadith 451