Ayesha reported,

I used to sleep in front of the Messenger of Allah ﷺ with my legs stretched toward his prayer direction. When he prostrated, he would tap me, and I would draw my legs in. When he stood, I would stretch them out again. She said, "The houses in those days had no lamps."

Muslim 1145

Sahih

حدثنا يحيى بن يحيى قال قرأت على مالك عن أبي النضر عن أبي سلمة بن عبد الرحمن

عن عائشة قالت

كنت أنام بين يدي رسول الله ﷺ ورجلاي في قبلته فإذا سجد غمزني فقبضت رجلي وإذا قام بسطتهما قالت والبيوت يومئذ ليس فيها مصابيح

مسلم 1145صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Prayer
Chapter
Passing in front of the one praying
Numbering
Darussalam 1145
Muslim 1145