Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:3882ʿAbd al-Razzāq > Sufyān > Khuṣayf > Abū ʿUbaydah > ʿAbdullāh

[Machine] "We were with the Messenger of Allah ﷺ , so he arranged the rows behind him and they were in prayer. He said the takbeer and they all said the takbeer together, then he prayed with the row behind him and another row parallel to the enemy. He said, 'Then these people went and those people came, so he prayed a rak'ah with them. Then those who prayed with him in the first rak'ah stood up and completed their place. Then these people went to the rows of those people and those people came and completed a rak'ah."  

أحمد:٣٨٨٢حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا سُفْيَانُ عَنْ خُصَيْفٍ عَنْ أَبِي عُبَيْدَةَ عَنْ عَبْدِ اللهِ قَالَ

كُنَّا مَعَ رَسُولِ اللهِ ﷺ فَصَفَّ صَفَّا خَلْفَهُ وَصَفٌّ مُوَازِي الْعَدُوِّ قَالَ وَهُمْ فِي صَلَاةٍ كُلُّهُمْ قَالَ وَكَبَّرَ وَكَبَّرُوا جَمِيعًا فَصَلَّى بِالصَّفِّ الَّذِي يَلِيهِ رَكْعَةً وَصَفٌّ مُوَازِي الْعَدُوِّ قَالَ ثُمَّ ذَهَبَ هَؤُلَاءِ وَجَاءَ هَؤُلَاءِ فَصَلَّى بِهِمْ رَكْعَةً ثُمَّ قَامَ هَؤُلَاءِ الَّذِينَ صَلَّى بِهِمُ الرَّكْعَةَ الثَّانِيَةَ فَقَضَوْا مَكَانَهُمْ ثُمَّ ذَهَبَ هَؤُلَاءِ إِلَى مَصَافِّ هَؤُلَاءِ وَجَاءَ أُولَئِكَ فَقَضَوْا رَكْعَةً  


See similar narrations below:

Collected by Suyūṭī
suyuti:430-93bIbn Masʿūd
Request/Fix translation

  

السيوطي:٤٣٠-٩٣b

"عَنِ ابْن مَسْعُودٍ قَالَ: كُنَّا معَ رَسُولِ الله ﷺ فَصَفَّ صَفّا خَلْفَهُ، وَصَفّا مُوَازىَ الْعَدُوِّ، وَهُمْ في صَلَاةٍ كُلُّهُمْ، فَكَبَّرَ وَكَبَّرُوا جَميعًا، فَصَلَّى بالصَّفِّ الَّذى

يَلِيهِ رَكْعَةً، ثُمَّ ذَهَبَ هَؤَلَاءِ، وَجَاءَ هَؤُلَاءِ فَصَلَّى بِهِمْ رَكعَةً، ثُمَّ قَامَ هو وَالَّذِى صَلَّى بِهِمْ الرَّكْعَةَ الثَّانيَةَ فَصَفُّوا مَكَانَهُمْ، ثُمَّ ذَهَبَ هَؤُلَاء إِلَى مَصَافِّ هَؤُلَاءِ، وَجَاءَ أُولَئِكَ فَقَضَوْا رَكْعَةً".  

[عب] عبد الرازق