Abdullah bin Umar reported,

He used to sleep in the Prophet's mosque ﷺ during the time of the Messenger of Allah ﷺ, as he was a young unmarried man with no family.

Nasai 723

Sahih

أخبرنا عبيد الله بن سعيد قال حدثنا يحيى عن عبيد الله قال أخبرني نافع

عن ابن عمر

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

النسائي 723صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Mosques
Chapter
Sleeping in the masjid
Numbering
Darussalam 723
Nasai 723