"صَلَّى رَسُولُ الله ﷺ صَلاةَ الْخَوْفِ بِذِى قَرَدَ فَصَفَّ صَفًّا خَلفَهُ، وَصَفًّا مُوَازىَ الْعَدُوِّ، فَصَلَّى بِهمْ رَكعَةً، ثُمَّ سَلَّمَ عَلَيْهِمْ جَمِيعًا، ثُمَّ انْصَرَفُوا فَكَانَ لِلنَّبِىّ ﷺ رَكعَتَان، وَلِكُل وَاحدٍ منَ الفَريضَةِ رَكْعَةٌ".
[Machine] The Messenger of Allahﷺ performed the prayer of fear, with those behind him forming a row, and another row equivalent to the enemy. He prayed with them one unit of prayer, then these (those who were behind him) went to the position of these (those equivalent to the enemy), and these (those equivalent to the enemy) came (forward), and he prayed with them one unit of prayer, then he said the tasleem. So it was two units for the Prophetﷺ and one unit for each group.
صَلَّى رَسُولُ اللهِ ﷺ صَلَاةَ الْخَوْفِ بِذِي قَرَدٍ صَفًّا خَلْفَهُ وَصَفًّا مُوَازِيَ الْعَدُوِّ وَصَلَّى بِهِمْ رَكْعَةً ثُمَّ ذَهَبَ هَؤُلَاءِ إِلَى مَصَافِّ هَؤُلَاءِ وَجَاءَ هَؤُلَاءِ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ سَلَّمَ فَكَانَتْ لِلنَّبِيِّ ﷺ رَكْعَتَيْنِ وَلِكُلِّ طَائِفَةٍ رَكْعَةً
[Machine] The Messenger of Allah ﷺ prayed the prayer of fear with a group carrying monkeys. He lined them up in rows, with a row parallel to the enemy. He prayed a Rak'ah with them, then these people went to the forefront, and those people came and prayed a Rak'ah with the Prophet ﷺ , then they greeted him. Sufyan said: The Prophet ﷺ prayed two Rak'ahs and each group prayed one Rak'ah.
صَلَّى رَسُولُ اللهِ ﷺ صَلَاةُ الْخَوْفِ بِذِي قَرَدٍ فَصَفَّ خَلْفَهُ صَفٌّ وَصَفٌّ مُوَازِي الْعَدُوِّ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ ذَهَبَ هَؤُلَاءِ إِلَى مَصَافِّ أُولَئِكَ وَجَاءَ أُولَئِكَ فَصَلُّوا مَعَ النَّبِيِّ ﷺ رَكْعَةً ثُمَّ سَلَّمَ عَلَيْهِمْ قَالَ سُفْيَانُ فَكَانَ لِلنَّبِيِّ ﷺ رَكْعَتَيْنِ وَلِكُلِّ طَائِفَةٍ رَكْعَةٌ