Book 105: Whoever says "Nothing annuls As-Salat (the prayer) (i.e. nothing of what others do, not the praying person himself)."
Sahih al-Bukhari
Sahih al-Bukhari 514
ʿĀʾishah (r.a) narrated that the things which invalidate the Prayer were mentioned before her; a dog, a donkey and a woman. She said: ‘You have compared us to donkeys and dogs. By Allāh! I myself have seen the Prophet (saw) praying and I would be lying on the bed between him and the Qiblah. If I was in need of something, I disliked sitting and troubling the Prophet (saw), so I would slip away by the feet of the bed.’
Translation: Ahmadiyya Muslim Jamaat
Sahih al-Bukhari 515
Ibn Shihāb related that he asked his paternal uncle if there is anything that invalidates the Prayer, and he replied: ‘Nothing invalidates it.’ ʿUrwah ibn al-Zubair reported that the wife of the Prophet (saw), ʿĀʾishah (r.a) said: ‘The Messenger of Allāh (saw) would get up and pray at night, while I would be lying sideways on the bed of his wife, between him and the Qiblah.’
Translation: Ahmadiyya Muslim Jamaat