"عَنْ زَيْد بن ثَابِت أَنَّهُ سُئِلَ عَنْ صَلَاةِ الْخَوْفِ فَقَالَ: قامَ رَسولُ الله ﷺ ، فَصَلَّى بِهِم، فَقَامَ صَفٌ خَلْفَهُ، وَصَفٌّ مُوَازِى الْعَدُوِّ، فَصَلَّى بِهِم رَكْعَة، ثمَّ ذَهَبَ هَؤُلَاءِ إِلَى مَصَافِّ هَؤُلَاءِ، وَجَاءَ هَؤُلَاءِ فَصَلَّى بِهم رَكْعَةً، ثُمَّ انْصَرَفَ".
See similar narrations below:
Collected by Nasāʾī, Aḥmad, Ḥākim, Ṭabarānī, Nasāʾī's Kubrá, Bayhaqī, Suyūṭī"We were with Sa'eed bin Al-'Asi in Tabaristan, and Hudhaifah bin Al-Yaman was with us. He said: 'Which of you offered the fear prayer with the Messenger of Allah ﷺ?' Hudhaifah said: 'I did.' So Hudhaifah stood and the people formed two rows behind him, one row behind him and one row facing the enemy. He led those who were behind him in praying one rak'ah, then they went and took the place of the others, and the others came and he led them in praying one rak'ah, and they did not make it up."
أَيُّكُمْ صَلَّى مَعَ رَسُولِ اللَّهِ ﷺ صَلاَةَ الْخَوْفِ فَقَالَ حُذَيْفَةُ أَنَا فَقَامَ حُذَيْفَةُ فَصَفَّ النَّاسُ خَلْفَهُ صَفَّيْنِ صَفًّا خَلْفَهُ وَصَفًّا مُوَازِيَ الْعَدُوِّ فَصَلَّى بِالَّذِي خَلْفَهُ رَكْعَةً ثُمَّ انْصَرَفَ هَؤُلاَءِ إِلَى مَكَانِ هَؤُلاَءِ وَجَاءَ أُولَئِكَ فَصَلَّى بِهِمْ رَكْعَةً وَلَمْ يَقْضُوا
The Messenger of Allah ﷺ led them in offering the fear prayer. Some formed a row behind him and some formed a row facing the enemy. He led them in praying one rak'ah, then they moved away and the others came, and he led them in praying one rak'ah, then they got up and each (group) made up the other rak'ah.
أَنَّ رَسُولَ اللَّهِ ﷺ صَلَّى بِهِمْ صَلاَةَ الْخَوْفِ فَصَفَّ صَفًّا خَلْفَهُ وَصَفًّا مُصَافُّو الْعَدُوِّ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ ذَهَبَ هَؤُلاَءِ وَجَاءَ أُولَئِكَ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ قَامُوا فَقَضَوْا رَكْعَةً رَكْعَةً
[Machine] The Messenger of Allahﷺ performed the prayer of fear, with those behind him forming a row, and another row equivalent to the enemy. He prayed with them one unit of prayer, then these (those who were behind him) went to the position of these (those equivalent to the enemy), and these (those equivalent to the enemy) came (forward), and he prayed with them one unit of prayer, then he said the tasleem. So it was two units for the Prophetﷺ and one unit for each group.
صَلَّى رَسُولُ اللهِ ﷺ صَلَاةَ الْخَوْفِ بِذِي قَرَدٍ صَفًّا خَلْفَهُ وَصَفًّا مُوَازِيَ الْعَدُوِّ وَصَلَّى بِهِمْ رَكْعَةً ثُمَّ ذَهَبَ هَؤُلَاءِ إِلَى مَصَافِّ هَؤُلَاءِ وَجَاءَ هَؤُلَاءِ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ سَلَّمَ فَكَانَتْ لِلنَّبِيِّ ﷺ رَكْعَتَيْنِ وَلِكُلِّ طَائِفَةٍ رَكْعَةً
"We were with Sa'eed bin Al-'Asi in Tabaristan, and Hudhaifah bin Al-Yaman was with us. He said: 'Which of you offered the fear prayer with the Messenger of Allah ﷺ?' Hudhaifah said: 'I did.' So Hudhaifah stood and the people formed two rows behind him, one row behind him and one row facing the enemy. He led those who were behind him in praying one rak'ah, then they went and took the place of the others, and the others came and he led them in praying one rak'ah, and they did not make it up." (Using translation from Nasāʾī 1530)
«أَيُّكُمْ صَلَّى مَعَ رَسُولِ اللَّهِ ﷺ صَلَاةَ الْخَوْفِ؟» فَقَامَ حُذَيْفَةُ «فَصَفَّ النَّاسَ خَلْفَهُ صَفًّا وَصَفًّا مُوَازِيَ الْعَدُوِّ فَصَلَّى بِالَّذِينَ خَلْفَهُ رَكْعَةً ثُمَّ انْصَرَفَ هَؤُلَاءِ مَكَانَ هَؤُلَاءِ وَجَاءَ أُولَئِكَ فَصَلَّى بِهِمْ رَكْعَةً وَلَمْ يَقْضُوا»
[Machine] "The Messenger of Allah stood up and prayed with them. Then a row stood behind him and a row opposing the enemy, and he prayed with them one rak'ah. Then those (in the back row) went to the place of those (in the front row), and those (in the front row) came forward and he prayed with them one rak'ah, then he turned away."
«قَامَ رَسُولُ اللهِ فَصَلَّى بِهِمْ فَقَامَ صَفٌّ خَلْفَهُ وَصَفٌّ مُوَازٍ الْعَدُوَّ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ ذَهَبَ هَؤُلَاءِ إِلَى مَصَفِّ هَؤُلَاءِ وَجَاءَ هَؤُلَاءِ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ انْصَرَفَ»
The Messenger of Allah ﷺ led them in offering the fear prayer. Some formed a row behind him and some formed a row facing the enemy. He led them in praying one rak'ah, then they moved away and the others came, and he led them in praying one rak'ah, then they got up and each (group) made up the other rak'ah. (Using translation from Nasāʾī 1536)
أَنَّ رَسُولَ اللهِ ﷺ «صَلَّى بِهِمْ صَلَاةَ الْخَوْفِ فَصَفَّ صَفًّا خَلْفَهُ وَصَفًّا مُصَافِّي الْعَدُوِّ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ ذَهَبَ هَؤُلَاءِ وَجَاءَ أُولَئِكَ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ قَامُوا فَقَضَوْا رَكْعَةً رَكْعَةً»
[Machine] The Messenger of Allah ﷺ performed the prayer of fear, so he arranged the rows behind him and the rows parallel to the enemy. He prayed with them one unit of prayer, then these people went to the place of those people, and those people came to the place of these people, so he prayed with them one unit of prayer, then he gave the salaam.
صَلَّى رَسُولُ اللهِ ﷺ صَلَاةَ الْخَوْفِ فَصَفَّ صَفًّا خَلْفَهُ وَصَفًّا مُوَازِي الْعَدُوِّ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ ذَهَبَ هَؤُلَاءِ إِلَى مَصَافِّ هَؤُلَاءِ وَجَاءَ هَؤُلَاءِ إِلَى مَصَافِّ هَؤُلَاءِ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ سَلَّمَ
"عَنْ سَهْلِ بْنِ أَبِى حَثْمَةَ قَالَ: يَقُومُ الإِمَامُ فِى صَلاَةِ الْخَوْفِ، وَيَقَومُ صَفٌّ خَلْفَهُ، وَصَفٌّ مُوَازِى الْعَدُوِّ، فَيُصَلِّى بِهَؤُلاَءِ رَكْعَةً، فَإِذَا صَلَّى بهِمْ رَكْعَةً قَامُوا مَكَانَهُمْ وَالإِمَامُ قَائِمٌ، فَقَضَوْا رَكعَةً، ثُمَّ ذَهَبُوا إِلَى مَصَافِّ أُولَئِكَ، وَجَاءَ أُوَلَئِكَ فَصَلَّى بِهِمْ رَكعَةً، ثُمَّ قَامُوا مَكَانَهُمْ فَقَضَوْا رَكْعَةً".