Muwatta Malik — Hadith 442 (KitabGrid sequence)
وَحَدَّثَنِي عَنۡ مَالِكٍ، عَنۡ نَافِعٍ، أَنَّ عَبۡدَ اللَّهِ بۡنَ عُمَرَ، كَانَ إِذَا سُئِلَ عَنۡ صَلاَةِ الۡخَوۡفِ، قَالَ يَتَقَدَّمُ الإِمَامُ وَطَائِفَةٌ مِنَ النَّاسِ فَيُصَلِّي بِهِمُ الإِمَامُ رَكۡعَةً وَتَكُونُ طَائِفَةٌ مِنۡهُمۡ بَيۡنَهُ وَبَيۡنَ الۡعَدُوِّ لَمۡ يُصَلُّوا فَإِذَا صَلَّى الَّذِينَ مَعَهُ رَكۡعَةً اسۡتَأۡخَرُوا مَكَانَ الَّذِينَ لَمۡ يُصَلُّوا وَلاَ يُسَلِّمُونَ وَيَتَقَدَّمُ الَّذِينَ لَمۡ يُصَلُّوا فَيُصَلُّونَ مَعَهُ رَكۡعَةً ثُمَّ يَنۡصَرِفُ الإِمَامُ وَقَدۡ صَلَّى رَكۡعَتَيۡنِ فَتَقُومُ كُلُّ وَاحِدَةٍ مِنَ الطَّائِفَتَيۡنِ فَيُصَلُّونَ لأَنۡفُسِهِمۡ رَكۡعَةً رَكۡعَةً بَعۡدَ أَنۡ يَنۡصَرِفَ الإِمَامُ فَيَكُونُ كُلُّ وَاحِدَةٍ مِنَ الطَّائِفَتَيۡنِ قَدۡ صَلَّوۡا رَكۡعَتَيۡنِ فَإِنۡ كَانَ خَوۡفًا هُوَ أَشَدَّ مِنۡ ذَلِكَ صَلَّوۡا رِجَالاً قِيَامًا عَلَى أَقۡدَامِهِمۡ أَوۡ رُكۡبَانًا مُسۡتَقۡبِلِي الۡقِبۡلَةِ أَوۡ غَيۡرَ مُسۡتَقۡبِلِيهَا .
Translation
He also narrated to me from Malik, from Nafi',
that when Abdullah ibn Umar رضي الله تعالى عنه was asked about the prayer of fear, he said, “The imam and one group of the people advance, and the imam leads them in one rak'ah, while another group that has not prayed remains between him and the enemy. When those with him have prayed one rak'ah, they withdraw to the position of those who have not prayed, without pronouncing the salutation. Those who have not prayed advance and pray one rak'ah with him. The imam then concludes, having prayed two rak'ahs. Each of the two groups rises and its members pray one rak'ah on their own after the imam has concluded, so that each group has prayed two rak'ahs. If the fear is more severe than that, they pray on foot, standing on their feet, or mounted, whether facing the qiblah or not.”
Ready.