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." (Using translation from Bukhārī 511)
عِنْدَهَا مَا يَقْطَعُ الصَّلَاةَ فَقَالُوا يَقْطَعُهَا الْكَلْبُ وَالْحِمَارُ وَالْمَرْأَةُ فَقَالَتْ عَائِشَةُ ؓ قَدْ جَعَلْتُمُونَا كِلَابًا لَقَدْ رَأَيْتُ رَسُولَ اللهِ ﷺ يُصَلِّي وَإِنِّي لَبَيْنَهُ وَبَيْنَ الْقِبْلَةِ وَأَنَا مُضْطَجِعَةٌ عَلَى السَّرِيرِ فَيَكُونُ لِيَ الْحَاجَةُ فَأَكْرَهُ أَنْ أَسْتَقْبِلَهُ فَأَنْسَلُّ انْسِلَالًا