Aisha reported, "I used to be lying asleep with my legs stretched out in front of the Messenger of Allah ﷺ while he was praying at night. When he wanted to prostrate, he would tap my legs, so I would draw them back, and then he would prostrate."
حدثنا عاصم بن النضر حدثنا المعتمر حدثنا عبيد الله عن أبي النضر عن أبي سلمة بن عبد الرحمن
أنها قالت كنت أكون نائمة ورجلاي بين يدي رسول الله ﷺ وهو يصلي من الليل فإذا أراد أن يسجد ضرب رجلي فقبضتهما فسجد
No references are available.
Bukhari narrated it in the Book of Prayer, Chapter on Praying on a Mat, hadith no. 382, and Muslim in the Book of Prayer, Chapter on Lying Crosswise in Front of One Who Is Praying, hadith no. 512, from the hadith of Ubaydullah bin Umar through this same chain.