Language:
كتاب الأذان
10  
Call to Prayers (Adhaan)
(58)
Chapter: If a man stood on the left side of the Imam and the Imam drew him to his right side, then the Salat of none of them would be invalid
(58)
باب إِذَا قَامَ الرَّجُلُ عَنْ يَسَارِ الإِمَامِ، فَحَوَّلَهُ الإِمَامُ إِلَى يَمِينِهِ لَمْ تَفْسُدْ صَلاَتُهُمَا
Sahih al-Bukhari 698

Narrated Ibn `Abbas:

One night I slept at the house of (my aunt) Maimuna and the Prophet (ﷺ) was there on that night. He performed ablution and stood up for the prayer. I joined him and stood on his left side but he drew me to his right and prayed thirteen rak`at and then slept till I heard his breath sounds. And whenever he slept, he used to breathe with audible sounds. The Mu'adh-dhin came to the Prophet (ﷺ) and he went out and prayed the morning prayer) without repeating the ablution.

حَدَّثَنَا أَحْمَدُ، قَالَ حَدَّثَنَا ابْنُ وَهْبٍ، قَالَ حَدَّثَنَا عَمْرٌو، عَنْ عَبْدِ رَبِّهِ بْنِ سَعِيدٍ، عَنْ مَخْرَمَةَ بْنِ سُلَيْمَانَ، عَنْ كُرَيْبٍ، مَوْلَى ابْنِ عَبَّاسٍ عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ نِمْتُ عِنْدَ مَيْمُونَةَ وَالنَّبِيُّ صلى الله عليه وسلم عِنْدَهَا تِلْكَ اللَّيْلَةَ، فَتَوَضَّأَ ثُمَّ قَامَ يُصَلِّي، فَقُمْتُ عَلَى يَسَارِهِ، فَأَخَذَنِي فَجَعَلَنِي عَنْ يَمِينِهِ، فَصَلَّى ثَلاَثَ عَشْرَةَ رَكْعَةً، ثُمَّ نَامَ حَتَّى نَفَخَ ـ وَكَانَ إِذَا نَامَ نَفَخَ ـ ثُمَّ أَتَاهُ الْمُؤَذِّنُ، فَخَرَجَ فَصَلَّى وَلَمْ يَتَوَضَّأْ‏.‏ قَالَ عَمْرٌو فَحَدَّثْتُ بِهِ بُكَيْرًا فَقَالَ حَدَّثَنِي كُرَيْبٌ بِذَلِكَ‏.‏
Reference : Sahih al-Bukhari 698
In-book reference : Book 10, Hadith 93
USC-MSA web (English) reference : Vol. 1, Book 11, Hadith 666
  (deprecated numbering scheme)