كتاب آداب النوم
5
The Book of the Etiquette of Sleeping, Lying and Sitting etc
Ya'ish bin Tikhfah Al-Ghifari (May Allah be pleased with him) reported:
My father said: I was lying down on my belly in the mosque when someone shook me with his foot and said, "Lying down this way is disapproved by Allah." I looked up and saw that it was Messenger of Allah (ﷺ).

[Abu Dawud].

وعن يعيش بن طخفة الغفارى رضى الله عنه قال‏:‏ قال أبى‏:‏ بينما أنا مضطجع في المسجد على بطني إذا رجل يحركني برجله فقال‏:‏ ‏ "‏إن هذه ضجعة يبغضها الله‏"‏ قال‏:‏ فنظرت ، فإذا رسول الله صلى الله عليه وسلم‏.‏ ‏.‏
Sunnah.com reference : Book 5, Hadith 5
Arabic/English book reference : Book 5, Hadith 818