Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:1260Aḥmad b. ʿAbdah > ʿAbd al-Wārith b. Saʿīd > Ayyūb > Abū al-Zubayr > Jābir b. ʿAbdullāh

It was narrated from Jabir bin ‘Abdullah that the Prophet ﷺ led his Companions in the fear prayer. He led them all in bowing, then the Messenger of Allah ﷺ and the row nearest him prostrated, and the others stood up, then when he stood up, they prostrated twice by themselves. Then the front row moved back and took their place, and they moved forward until they formed the front row. Then the Prophet ﷺ led them all in bowing, then the Messenger of Allah ﷺ and the row nearest to him prostrated, and when they raised their heads, the others prostrated twice. So all of them bowed with the Prophet ﷺ and some of them prostrated by themselves, and the enemy was in the direction of the Qiblah.  

ابن ماجة:١٢٦٠حَدَّثَنَا أَحْمَدُ بْنُ عَبْدَةَ حَدَّثَنَا عَبْدُ الْوَارِثِ بْنُ سَعِيدٍ حَدَّثَنَا أَيُّوبُ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ

أَنَّ النَّبِيَّ ﷺ صَلَّى بِأَصْحَابِهِ صَلاَةَ الْخَوْفِ فَرَكَعَ بِهِمْ جَمِيعًا ثُمَّ سَجَدَ رَسُولُ اللَّهِ ﷺ وَالصَّفُّ الَّذِينَ يَلُونَهُ وَالآخَرُونَ قِيَامٌ حَتَّى إِذَا نَهَضَ سَجَدَ أُولَئِكَ بِأَنْفُسِهِمْ سَجْدَتَيْنِ ثُمَّ تَأَخَّرَ الصَّفُّ الْمُقَدَّمُ حَتَّى قَامُوا مُقَامَ أُولَئِكَ وَتَخَلَّلَ أُولَئِكَ حَتَّى قَامُوا مُقَامَ الصَّفِّ الْمُقَدَّمِ فَرَكَعَ بِهِمُ النَّبِيُّ ﷺ جَمِيعًا ثُمَّ سَجَدَ رَسُولُ اللَّهِ ﷺ وَالصَّفُّ الَّذِي يَلُونَهُ فَلَمَّا رَفَعُوا رُءُوسَهُمْ سَجَدَ أُولَئِكَ سَجْدَتَيْنِ فَكُلُّهُمْ قَدْ رَكَعَ مَعَ النَّبِيِّ ﷺ وَسَجَدَتْ طَائِفَةٌ بِأَنْفُسِهِمْ سَجْدَتَيْنِ وَكَانَ الْعَدُوُّ مِمَّا يَلِي الْقِبْلَةَ  


See similar narrations below:

Collected by Ibn Ḥibbān

ذِكْرُ النَّوْعِ الثَّالِثِ مِنْ صَلَاةِ الْخَوْفِ

ibnhibban:2874ʿUmar b. Muḥammad al-Hamdānī > Aḥmad b. ʿAbdah al-Ḍabbī > ʿAbd al-Wārith b. Saʿīd > Ayyūb > Abū al-Zubayr > Jābir

It was narrated from Jabir bin ‘Abdullah that the Prophet ﷺ led his Companions in the fear prayer. He led them all in bowing, then the Messenger of Allah ﷺ and the row nearest him prostrated, and the others stood up, then when he stood up, they prostrated twice by themselves. Then the front row moved back and took their place, and they moved forward until they formed the front row. Then the Prophet ﷺ led them all in bowing, then the Messenger of Allah ﷺ and the row nearest to him prostrated, and when they raised their heads, the others prostrated twice. So all of them bowed with the Prophet ﷺ and some of them prostrated by themselves, and the enemy was in the direction of the Qiblah. (Using translation from Ibn Mājah 1260)   

ابن حبّان:٢٨٧٤أَخْبَرَنَا عُمَرُ بْنُ مُحَمَّدٍ الْهَمْدَانِيُّ قَالَ حَدَّثَنَا أَحْمَدُ بْنُ عَبْدَةَ الضَّبِّيُّ قَالَ حَدَّثَنَا عَبْدُ الْوَارِثِ بْنُ سَعِيدٍ عَنْ أَيُّوبَ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ

أَنَّ النَّبِيَّ ﷺ «صَلَّى بِأَصْحَابِهِ صَلَاةَ الْخَوْفِ فَرَكَعَ بِهِمَا جَمِيعًا ثُمَّ سَجَدَ رَسُولُ اللَّهِ ﷺ وَالصَّفُّ الَّذِي يَلُونَهُ وَالْآخَرُونَ قِيَامٌ حَتَّى نَهَضَ ثُمَّ سَجَدَ أُولَئِكَ بِأَنْفُسِهِمْ سَجْدَتَيْنِ ثُمَّ تَأَخَّرَ الصَّفُّ الْمُتَقَدِّمُ فَرَكَعَ النَّبِيُّ ﷺ وَالصَّفُّ الَّذِينَ يَلُونَهُ فَلَمَّا رَفَعُوا رُءُوسَهُمْ سَجَدَ أُولَئِكَ سَجْدَتَيْنِ كُلُّهُمْ قَدْ رَكَعَ مَعَ النَّبِيِّ ﷺ وَسَجَدَتْ لِأَنْفُسِهِمْ سَجْدَتَيْنِ وَكَانَ الْعَدُوُّ مِمَّا يَلِي الْقِبْلَةَ