It was mentioned before'A'isha that prayer is invalidated (in case of passing) of a dog, an ass and a woman (before the worshipper, when he is not screened). Upon this 'A'isha said: You likened us to the asses and the dogs. By Allah I saw the Messenger of Allah ﷺ saying prayer while I lay on the bedstead interposing between him and the Qibla. When I felt the need, I did not like to wit to front (of the Holy Prophet) and perturb the Messenger of Allah ﷺ and quietly moved out from under its (i. e. of the bedstead) legs.
عَائِشَةُ قَدْ شَبَّهْتُمُونَا بِالْحَمِيرِ وَالْكِلاَبِ وَاللَّهِ لَقَدْ رَأَيْتُ رَسُولَ اللَّهِ ﷺ يُصَلِّي وَإِنِّي عَلَى السَّرِيرِ بَيْنَهُ وَبَيْنَ الْقِبْلَةِ مُضْطَجِعَةً فَتَبْدُو لِي الْحَاجَةُ فَأَكْرَهُ أَنْ أَجْلِسَ فَأُوذِيَ رَسُولَ اللَّهِ ﷺ فَأَنْسَلُّ مِنْ عِنْدِ رِجْلَيْهِ