Sunan an-Nasa'i 1547
It was narrated that Jabir said:
"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."
أَخْبَرَنَا عَلِيُّ بْنُ الْحُسَيْنِ الدِّرْهَمِيُّ، وَإِسْمَاعِيلُ بْنُ مَسْعُودٍ، قَالاَ حَدَّثَنَا خَالِدٌ، قَالَ حَدَّثَنَا عَبْدُ الْمَلِكِ بْنُ أَبِي سُلَيْمَانَ، عَنْ عَطَاءٍ، عَنْ جَابِرٍ، قَالَ شَهِدْنَا مَعَ رَسُولِ اللَّهِ ﷺ صَلاَةَ الْخَوْفِ فَقُمْنَا خَلْفَهُ صَفَّيْنِ وَالْعَدُوُّ بَيْنَنَا وَبَيْنَ الْقِبْلَةِ فَكَبَّرَ رَسُولُ اللَّهِ ﷺ وَكَبَّرْنَا وَرَكَعَ وَرَكَعْنَا وَرَفَعَ وَرَفَعْنَا فَلَمَّا انْحَدَرَ لِلسُّجُودِ سَجَدَ رَسُولُ اللَّهِ ﷺ وَالَّذِينَ يَلُونَهُ وَقَامَ الصَّفُّ الثَّانِي حِينَ رَفَعَ رَسُولُ اللَّهِ ﷺ وَالصَّفُّ الَّذِينَ يَلُونَهُ ثُمَّ سَجَدَ الصَّفُّ الثَّانِي حِينَ رَفَعَ رَسُولُ اللَّهِ ﷺ فِي أَمْكِنَتِهِمْ ثُمَّ تَأَخَّرَ الصَّفُّ الَّذِينَ كَانُوا يَلُونَ النَّبِيَّ ﷺ وَتَقَدَّمَ الصَّفُّ الآخَرُ فَقَامَ فِي مَقَامِهِمْ وَقَامَ هَؤُلاَءِ فِي مَقَامِ الآخَرِينَ قِيَامًا وَرَكَعَ النَّبِيُّ ﷺ وَرَكَعْنَا ثُمَّ رَفَعَ وَرَفَعْنَا فَلَمَّا انْحَدَرَ لِلسُّجُودِ سَجَدَ الَّذِينَ يَلُونَهُ وَالآخَرُونَ قِيَامٌ فَلَمَّا رَفَعَ رَسُولُ اللَّهِ ﷺ وَالَّذِينَ يَلُونَهُ سَجَدَ الآخَرُونَ ثُمَّ سَلَّمَ .