It was narrated that Ibn 'Umar said:
"We used to sleep in the mosque at the time of the Messenger of Allah."