عَنْ عَبْدِ اللَّهِ (يَعْنِي ابْنَ مَسْعُودٍ رَضِيَ اللَّهُ عَنْهُ) قَالَ: صَلَّى بِنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ صَلَاةَ الْخَوْفِ فَقَامُوا صَفَّيْنِ، فَقَامَ صَفٌّ خَلْفَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ وَصَفٌّ مُسْتَقْبِلُ الْعَدُوِّ، فَصَلَّى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ بِالصَّفِّ الَّذِي يَلُوهُ رَكْعَةً، ثُمَّ قَامُوا فَذَهَبُوا فَقَامُوا مَقَامَ أُولَئِكَ مُسْتَقْبِلِي الْعَدُوِّ، وَجَاءَ أُولَئِكَ فَقَامُوا مَقَامَهُمْ، فَصَلَّى بِهِمْ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ رَكْعَةً ثُمَّ سَلَّمَ، ثُمَّ قَامُوا فَصَلَّوْا لِأَنْفُسِهِمْ رَكْعَةً ثُمَّ سَلَّمُوا، ثُمَّ ذَهَبُوا فَقَامُوا مَقَامَ أُولَئِكَ مُسْتَقْبِلِي الْعَدُوِّ وَرَجَعَ أُولَئِكَ إِلَى مَقَامِهِمْ فَصَلَّوْا لِأَنْفُسِهِمْ رَكْعَةً، ثُمَّ سَلَّمُوا
Sayyiduna Abdullah bin Mas’ud (may Allah be pleased with him) says: The Messenger of Allah (peace and blessings be upon him) led us in the prayer of fear (Salat al-Khawf). The people formed two rows. One row stood behind the Messenger of Allah (peace and blessings be upon him) and the other faced the enemy. The Prophet (peace and blessings be upon him) led the row behind him in one rak’ah. After that, these people went to face the enemy, and the other row came to their place (behind the Prophet, peace and blessings be upon him). The Messenger of Allah (peace and blessings be upon him) led them in one rak’ah as well. When the Prophet (peace and blessings be upon him) finished with salam, these people stood up and each prayed one rak’ah and then, after saying salam, went to the field to face the enemy. The first group returned (to the place of prayer), prayed one rak’ah each, and then finished with salam.