Amash said, Muslim narrated to me from Masruq from Ayesha that it was mentioned in her presence that prayer is invalidated by a dog, a donkey, and a woman passing in front of the worshipper.She said, "You have likened us to donkeys and dogs! By Allah, I saw the Prophet ﷺ praying while I was lying on the bed between him and the qiblah. When I needed to get up, I disliked sitting up and disturbing the Prophet ﷺ, so I would slip away from the foot of the bed."
حدثنا عمر بن حفص بن غياث قال حدثنا أبي قال حدثنا الأعمش قال حدثنا إبراهيم عن الأسود
ح قال الأعمش وحدثني مسلم عن مسروق عن عائشة ذكر عندها ما يقطع الصلاة الكلب والحمار والمرأة فقالت شبهتمونا بالحمر والكلاب والله لقد رأيت النبي ﷺ يصلي وإني على السرير بينه وبين القبلة مضطجعة فتبدو لي الحاجة فأكره أن أجلس فأوذي النبي ﷺ فأنسل من عند رجليه