Abdullah bin Umar reported,

When the Prophet ﷺ returned from Hunayn, Umar asked the Messenger of Allah ﷺ about a vow he had made during the days of ignorance to observe itikaf for one day. He then mentioned the rest of the report with the same meaning as the hadith of Jareer bin Hazim.

Muslim 4295

Sahih

و حدثنا عبد بن حميد أخبرنا عبد الرزاق أخبرنا معمر عن أيوب عن نافع

عن ابن عمر قال

لما قفل النبي من حنين سأل عمر رسول الله ﷺ عن نذر كان نذره في الجاهلية اعتكاف يوم ثم ذكر بمعنى حديث جرير بن حازم

مسلم 4295صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Oaths
Chapter
Vow of the disbeliever and what to do about it if he becomes Muslim
Numbering
Darussalam 4295
Muslim 4295