Masruq (may Allah have mercy on him) relates that someone mentioned in the presence of Sayyidah Aishah (may Allah be pleased with her) that the prayer is broken by (the passing in front of) a dog, a donkey and a woman. She said: "You have regarded us like donkeys and dogs! By Allah, I have seen the Messenger of Allah (peace and blessings be upon him) praying while I lay on the bed between him (peace and blessings be upon him) and the qiblah. Then I would have some need, and I disliked sitting up in front of him (peace and blessings be upon him) and causing him discomfort, so I would slip out from the foot of the bed."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3497