حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى، قَالَ: ثَنَا عَبْدُ الرَّزَّاقِ، قَالَ: أَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ سَالِمٍ، عَنِ ابْنِ عُمَرَ، رَضِيَ اللَّهُ عَنْهُ قَالَ: صَلَّى رَسُولُ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ صَلَاةَ الْخَوْفِ بِإِحْدَى الطَّائِفَتَيْنِ رَكْعَةً وَالطَّائِفَةُ الْأُخْرَى مُوَاجِهَةٌ الْعَدُوَّ، ثُمَّ انْصَرَفُوا وَقَامُوا فِي مَقَامِ أَصْحَابِهِمْ مُقْبِلِينَ عَلَى الْعَدُوِّ وَجَاءَ أُولَئِكَ فَصَلَّى بِهِمُ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ رَكْعَةً ثُمَّ سَلَّمَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ ثُمَّ قَضَى هَؤُلَاءِ رَكْعَةً وَهَؤُلَاءِ رَكْعَةً
Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates that the Messenger of Allah (peace and blessings be upon him) led one group in one rak’ah of the prayer of fear, while the other group was facing the enemy. Then the first group went and stood facing the enemy in place of their companions, and they (the second group) came (for prayer). So the Prophet (peace and blessings be upon him) led them in one rak’ah as well, then the Prophet (peace and blessings be upon him) said salam, and both groups completed one rak’ah each (on their own).