From Sahih Bukhari (Hadith 382):
Narrated Abu Salama:`Aisha the wife of the Prophet (ﷺ) said, "I used to sleep in front of Allah's Messenger (ﷺ) and my legs were opposite his Qibla and in prostration he pushed my legs and I withdrew then and when he stood, I stretched them.' `Aisha added, "In those days the houses were without lights
Reference: Bukhari 382