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
Hadith No. 836
Sunan an Nasai
Gradings:
Abu Ghuddah:
Sahih
Al-Albani:
Sahih
Zubair Ali Zai:
Sahih Witness Sahih Muslim (843/ 312)