Ayesha reported,

I used to sleep in front of the Messenger of Allah ﷺ with my legs stretched toward his qiblah. When he prostrated, he would nudge me and I would draw my legs back, and when he stood, I would stretch them out again. She added, "At that time, the houses had no lamps."

Bukhari 382

Sahih

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

عن عائشة زوج النبي ﷺ أنها قالت

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

البخاري 382صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer
Chapter
Prayer on the bed
Numbering
Darussalam 382
Bukhari 382