Abdullah bin Umar reported,

He used to sleep in the mosque of the Prophet ﷺ, as he was a young unmarried man with no family.

Azami 3099

Sahih

عن عبد الله بن عمر

أنه كان ينام- وهو شاب أعزب لا أهل له- في مسجد النبي ﷺ.

الأعظمي 3099صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Mosques
Section
Men sleeping in the masjid for those who have need of it
Numbering
Jami al-Kamil 3099 (2nd edition)
Azami 3099