Sunan Ibn Majah, Book 33, Hadith 69 (Ibn Majah 3727)

It was narrated that Abu Umamah said:

"The Prophet(ﷺ) passed by a man who was sleeping in the masjid, lying on his face. He struck him with his foot and said: 'Get up' or; 'Sit up, fo this is a hellish kind of sleep.'"