Sahih al-Bukhari 511
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا إِسْمَاعِيلُ بْنُ خَلِيلٍ، حَدَّثَنَا عَلِيُّ بْنُ مُسْهِرٍ، عَنِ الأَعْمَشِ، عَنْ مُسْلِمٍ ـ يَعْنِي ابْنَ صُبَيْحٍ ـ عَنْ مَسْرُوقٍ، عَنْ عَائِشَةَ، أَنَّهُ ذُكِرَ عِنْدَهَا مَا يَقْطَعُ الصَّلاَةَ فَقَالُوا يَقْطَعُهَا الْكَلْبُ وَالْحِمَارُ وَالْمَرْأَةُ. قَالَتْ قَدْ جَعَلْتُمُونَا كِلاَبًا، لَقَدْ رَأَيْتُ النَّبِيَّ ـ عَلَيْهِ السَّلاَمُ ـ يُصَلِّي، وَإِنِّي لَبَيْنَهُ وَبَيْنَ الْقِبْلَةِ، وَأَنَا مُضْطَجِعَةٌ عَلَى السَّرِيرِ، فَتَكُونُ لِي الْحَاجَةُ، فَأَكْرَهُ أَنْ أَسْتَقْبِلَهُ فَأَنْسَلُّ انْسِلاَلاً. وَعَنِ الأَعْمَشِ عَنْ إِبْرَاهِيمَ عَنِ الأَسْوَدِ عَنْ عَائِشَةَ نَحْوَهُ.
Narrated `Aisha:
The things which annul the prayers were mentioned before me. They said, "Prayer is annulled by a dog, a donkey and a woman (if they pass in front of the praying people)." I said, "You have made us (i.e. women) dogs. I saw the Prophet (ﷺ) praying while I used to lie in my bed between him and the Qibla. Whenever I was in need of something, I would slip away. for I disliked to face him."
Full reference and source
Sahih al-Bukhari 511 In-book : Book 8, Hadith 158 USC-MSA web (English) : Vol. 1, Book 9, Hadith 490 (deprecated)
View source on Sunnah.com (opens in a new tab)