"We witnessed the fear prayer with the Messenger of Allah ﷺ. We stood behind him in two rows, and the enemy was between us and the Qiblah. The Messenger of Allah ﷺ said the takbir. He bowed and we bowed, and he stood up again and we stood up. When he went down in prostration, the Messenger of Allah ﷺ and those who were closest to him prostrated, and the second row remained standing until the Messenger of Allah ﷺ and the row closest to him stood up. Then the second row prostrated when the Messenger of Allah ﷺ had stood up, where they were. Then the row that had been closest to the Prophet ﷺ moved back and the second row moved forward, each standing in the place where the other had been. The Prophet ﷺ bowed and we bowed, then he stood up and we stood up, and when he went down in prostration, those who were closest to him prostrated and the others remained standing. When the Messenger of Allah ﷺ and those who were closest to him sat up, the others prostrated, then he said the taslim." (Using translation from Nasāʾī 1547)
«شَهِدْنَا مَعَ رَسُولِ اللهِ ﷺ صَلَاةَ الْخَوْفِ فَقُمْنَا خَلْفَهُ صَفَّيْنِ وَالْعَدُوُّ بَيْنَنَا وَبَيْنَ الْقِبْلَةِ فَكَبَّرَ رَسُولُ اللهِ ﷺ وَكَبَّرْنَا وَرَكَعَ وَرَكَعْنَا وَرَفَعَ وَرَفَعْنَا فَلَمَّا انْحَدَرَ لِلسُّجُودِ سَجَدَ رَسُولُ اللهِ ﷺ وَالَّذِينَ يَلُونَهُ وَقَامَ الصَّفُّ الثَّانِي حَتَّى رَفَعَ رَسُولُ اللهِ ﷺ وَالصَّفُّ الَّذِينَ يَلُونَهُ ثُمَّ سَجَدَ الصَّفُّ الثَّانِي فِي أَمْكِنَتِهِمْ ثُمَّ تَأَخَّرَ الصَّفُّ الَّذِينَ كَانُوا يَلُونَ النَّبِيَّ ﷺ وَتَقَدَّمَ الصَّفُّ الْآخَرُ فَقَامُوا فِي مَقَامِهِمْ وَقَامَ هَؤُلَاءِ فِي مَقَامِ الْآخَرِينَ وَرَكَعَ النَّبِيُّ ﷺ وَرَكَعْنَا ثُمَّ رَفَعَ وَرَفَعْنَا فَلَمَّا انْحَدَرَ لِلسُّجُودِ سَجَدَ الَّذِينَ يَلُونَهُ وَالْآخَرُونَ قِيَامٌ فَلَمَّا رَفَعَ النَّبِيُّ ﷺ وَالَّذِينَ يَلُونَهُ سَجَدَ الْآخَرُونَ ثُمَّ سَلَّمَ»