Ayesha reported,

Amash said, Muslim narrated to me from Masruq from Ayesha that the things which break the prayer were mentioned in her presence, namely the dog, the donkey, and the woman.Ayesha said, "You have likened us to donkeys and dogs! By Allah, I saw the Messenger of Allah ﷺ praying while I was lying on the bed between him and the qiblah. When I had a need, I disliked sitting up and disturbing the Messenger of Allah ﷺ, so I would slip away from near his feet."

Muslim 1143

Sahih

حدثنا عمرو الناقد وأبو سعيد الأشج قالا حدثنا حفص بن غياث قال ح و حدثنا عمر بن حفص بن غياث واللفظ له حدثنا أبي حدثنا الأعمش حدثني إبراهيم عن الأسود

عن عائشة

ح قال الأعمش وحدثني مسلم عن مسروق عن عائشة وذكر عندها ما يقطع الصلاة الكلب والحمار والمرأة فقالت عائشة قد شبهتمونا بالحمير والكلاب والله لقد رأيت رسول الله ﷺ يصلي وإني على السرير بينه وبين القبلة مضطجعة فتبدو لي الحاجة فأكره أن أجلس فأوذي رسول الله ﷺ فأنسل من عند رجليه

مسلم 1143صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Prayer
Chapter
Passing in front of the one praying
Numbering
Darussalam 1143
Muslim 1143