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.
nasai:1555ʿAmr b. ʿAlī > Yaḥyá b. Saʿīd > al-Ashʿath > al-Ḥasan > Abū Bakrah

The Prophet ﷺ offered the fear prayer with those who were behind him, praying two rak'ahs (with them) and two rak'ahs with those who came after them, so the Prophet ﷺ prayed four rak'ahs and the others each prayed two rak'ahs.  

النسائي:١٥٥٥أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ قَالَ حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ قَالَ حَدَّثَنَا الأَشْعَثُ عَنِ الْحَسَنِ عَنْ أَبِي بَكْرَةَ

عَنِ النَّبِيِّ ﷺ أَنَّهُ صَلَّى صَلاَةَ الْخَوْفِ بِالَّذِينَ خَلْفَهُ رَكْعَتَيْنِ وَالَّذِينَ جَاءُوا بَعْدُ رَكْعَتَيْنِ فَكَانَتْ لِلنَّبِيِّ ﷺ أَرْبَعَ رَكَعَاتٍ وَلِهَؤُلاَءِ رَكْعَتَيْنِ رَكْعَتَيْنِ  


See similar narrations below:

Collected by Nasāʾī, Aḥmad, Nasāʾī's Kubrá
nasai:836ʿAmr b. ʿAlī > Yaḥyá > Ashʿath > al-Ḥasan > Abū Bakrah

837. It was narrated from Abu Bakr that the Prophet ﷺ offered the fear prayer (Salat Al-Khauf). He led those who were behind him in two Rak'ah and those who came (after them) in two Rak'ah, so the Prophet ﷺ prayed four Rak'ahs and each group prayed two.  

النسائي:٨٣٦أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ قَالَ حَدَّثَنَا يَحْيَى عَنْ أَشْعَثَ عَنِ الْحَسَنِ عَنْ أَبِي بَكْرَةَ

عَنِ النَّبِيِّ ﷺ أَنَّهُ صَلَّى صَلاَةَ الْخَوْفِ فَصَلَّى بِالَّذِينَ خَلْفَهُ رَكْعَتَيْنِ وَبِالَّذِينَ جَاءُوا رَكْعَتَيْنِ فَكَانَتْ لِلنَّبِيِّ ﷺ أَرْبَعًا وَلِهَؤُلاَءِ رَكْعَتَيْنِ رَكْعَتَيْنِ  

ahmad:20408Yaḥyá > Ashʿath > al-Ḥasan > Abū Bakarah

[Machine] The Prophet ﷺ prayed with these two units of prayer, and with these two units of prayer. So, for the Prophet ﷺ , it was four units of prayer, and for them (the others), it was two units of prayer, two units of prayer.  

أحمد:٢٠٤٠٨حَدَّثَنَا يَحْيَى عَنْ أَشْعَثَ عَنِ الْحَسَنِ عَنْ أَبِي بَكَرَةَ

أَنَّ النَّبِيَّ ﷺ صَلَّى بِهَؤُلَاءِ الرَّكْعَتَيْنِ وَبِهَؤُلَاءِ الرَّكْعَتَيْنِ فَكَانَتْ لِلنَّبِيِّ ﷺ أَرْبَعًا وَلَهُمْ رَكْعَتَيْنِ رَكْعَتَيْنِ  

nasai-kubra:912Bishr b. Hilāl > Yaḥyá > al-Qaṭṭān > Ashʿath > al-Ḥasan > Abū Bakrah

837. It was narrated from Abu Bakr that the Prophet ﷺ offered the fear prayer (Salat Al-Khauf). He led those who were behind him in two Rak'ah and those who came (after them) in two Rak'ah, so the Prophet ﷺ prayed four Rak'ahs and each group prayed two. (Using translation from Nasāʾī 836)  

الكبرى للنسائي:٩١٢أَخْبَرَنَا بِشْرُ بْنُ هِلَالٍ قَالَ حَدَّثَنَا يَحْيَى هُوَ الْقَطَّانُ عَنْ أَشْعَثَ عَنِ الْحَسَنِ عَنْ أَبِي بَكْرَةَ

عَنِ النَّبِيِّ ﷺ أَنَّهُ صَلَّى صَلَاةَ الْخَوْفِ فَصَلَّى بِالَّذِينَ خَلْفَهُ رَكْعَتَيْنِ وَبِالَّذِينَ جَاءُوا رَكْعَتَيْنِ فَكَانَتْ لِلنَّبِيِّ ﷺ أَرْبَعًا وَلَهُمْ وَلِهَؤُلَاءِ رَكْعَتَيْنِ رَكْعَتَيْنِ  

nasai-kubra:1956ʿAmr b. ʿAlī > Yaḥyá b. Saʿīd > al-Ashʿath > al-Ḥasan > Abū Bakarah

[Machine] On the authority of the Prophet ﷺ, in the prayer of fear, he prayed two units of prayer and with these (others) two units of prayer. So, it would be four units for the Prophet ﷺ and two units for them.  

الكبرى للنسائي:١٩٥٦أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ قَالَ حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ قَالَ حَدَّثَنَا الْأَشْعَثُ عَنِ الْحَسَنِ عَنْ أَبِي بَكَرَةَ

عَنِ النَّبِيِّ ﷺ «فِي صَلَاةِ الْخَوْفِ صَلَّى بِهِمْ رَكْعَتَيْنِ وَبِهَؤُلَاءِ رَكْعَتَيْنِ فَكَانَتْ لِلنَّبِيِّ ﷺ أَرْبَعًا وَلَهُمْ رَكْعَتَانِ رَكْعَتَانِ»