كتاب الصلاة
4  
The Book of Prayers
(51)
Chapter: Lying In Front Of One Who Is Praying
(51)
باب الاِعْتِرَاضِ بَيْنَ يَدَىِ الْمُصَلِّي ‏
Sahih Muslim 512 e

Al-Aswad reported that 'A'isha said:

You have made us equal to the dogs and the asses, whereas I lay on the bedstead and the Messenger of Allah (ﷺ) came there and stood in the middle of the bedstead and said prayer. I did not like to take off the quilt from me (in that state), so I moved away quietly from the front legs of the bedstead and thus came out of the quilt.
حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، أَخْبَرَنَا جَرِيرٌ، عَنْ مَنْصُورٍ، عَنْ إِبْرَاهِيمَ، عَنِ الأَسْوَدِ، عَنْ عَائِشَةَ، قَالَتْ عَدَلْتُمُونَا بِالْكِلاَبِ وَالْحُمُرِ لَقَدْ رَأَيْتُنِي مُضْطَجِعَةً عَلَى السَّرِيرِ فَيَجِيءُ رَسُولُ اللَّهِ صلى الله عليه وسلم فَيَتَوَسَّطُ السَّرِيرَ فَيُصَلِّي فَأَكْرَهُ أَنْ أَسْنَحَهُ فَأَنْسَلُّ مِنْ قِبَلِ رِجْلَىِ السَّرِيرِ حَتَّى أَنْسَلَّ مِنْ لِحَافِي ‏.‏
Reference : Sahih Muslim 512e
In-book reference : Book 4, Hadith 306
USC-MSA web (English) reference : Book 4, Hadith 1039
  (deprecated numbering scheme)