I used to sleep with my legs in front of the Messenger of Allah (ﷺ) when he would offer his prayer at night (i.e. tahajjud prayer offered towards the end of the night.). When he prostrated himself he struck my legs, and I drew them up and he then prostrated.
Reference: Sunan Abi Dawud 712 In-book : Book 2, Hadith 322 English translation : Book 2, Hadith 712
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.