Sunan Ibn Majah, Volume 2, Book 5, Hadith 1003 (DarusSalam)

‘Abdur-Rahman bin ‘Ali bin Shaiban narrated that his father, ‘Ali bin Shaiban, who was part of the delegation, said: “We set out until we came to the Prophet. We gave him our oath of allegiance and performed prayer behind him. Then we offered another prayer behind him. He finished the prayer and saw a man on his own, praying behind the row.” He said: “The Prophet of Allah stood beside him and when he finished he said: ‘Repeat your prayer; there is no prayer for the one who is behind the row.’”

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا مُلاَزِمُ بْنُ عَمْرٍو، عَنْ عَبْدِ اللَّهِ بْنِ بَدْرٍ، حَدَّثَنِي عَبْدُ الرَّحْمَنِ بْنُ عَلِيِّ بْنِ شَيْبَانَ، عَنْ أَبِيهِ، عَلِيِّ بْنِ شَيْبَانَ - وَكَانَ مِنَ الْوَفْدِ - قَالَ خَرَجْنَا حَتَّى قَدِمْنَا عَلَى النَّبِيِّ ـ صلى الله عليه وسلم ـ فَبَايَعْنَاهُ وَصَلَّيْنَا خَلْفَهُ ثُمَّ صَلَّيْنَا وَرَاءَهُ صَلاَةً أُخْرَى فَقَضَى الصَّلاَةَ فَرَأَى رَجُلاً فَرْدًا يُصَلِّي خَلْفَ الصَّفِّ ‏.‏ قَالَ فَوَقَفَ عَلَيْهِ نَبِيُّ اللَّهِ ـ صلى الله عليه وسلم ـ حِينَ انْصَرَفَ قَالَ ‏ "‏ اسْتَقْبِلْ صَلاَتَكَ لاَ صَلاَةَ لِلَّذِي خَلْفَ الصَّفِّ ‏" ‏ ‏.‏

sunnah.com