Abdullah bin Umar reported,

The Messenger of Allah ﷺ used to observe seclusion during the last ten days of Ramadan.Nafi said, "Abdullah bin Umar showed me the place where the Messenger of Allah ﷺ used to seclude himself."

Ibn Majah 1773

Sahih

حدثنا أحمد بن عمرو بن السرح حدثنا عبد الله بن وهب أنبأنا يونس أن نافعا حدثه

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

أن رسول الله ﷺ كان يعتكف العشر الأواخر من رمضان قال نافع وقد أراني عبد الله بن عمر المكان الذي كان يعتكف فيه رسول الله ﷺ

ابن ماجه 1773صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Fasting
Chapter
One observing itikaf staying in a specific place in the masjid
Numbering
Darussalam 1773
Ibn Majah 1773