Hadithcore
Mishkat al-Masabih, 786

‘A’isha said, “I was sleeping in front of God’s Messenger with my legs between him and the <i>qibla</i>. When he prostrated himself he pinched me and I drew up my legs, and when he stood up I stretched them out.” She added, “At that time there were no lamps in the houses.” (Bukhari and Muslim.)

عَن عَائِشَة قَالَتْ: كُنْتُ أَنَامُ بَيْنَ يَدَيْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَرِجْلَايَ فِي قِبْلَتِهِ فَإِذَا سَجَدَ غَمَزَنِي فَقَبَضْتُ رِجْلِيَ وَإِذَا قَامَ بَسَطْتُهُمَا قَالَتْ: وَالْبُيُوتُ يَوْمَئِذٍ لَيْسَ فِيهَا مَصَابِيحُ

References1 variant
In-Book Reference
Book 4, Hadith 214