Sahih al-BukhariChapter 33Hadith 2032
Full Sharh — Sahih al-Bukhari 2032
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، عَنْ عُبَيْدِ اللَّهِ، أَخْبَرَنِي نَافِعٌ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ أَنَّ عُمَرَ، سَأَلَ النَّبِيَّ صلى الله عليه وسلم قَالَ كُنْتُ نَذَرْتُ فِي الْجَاهِلِيَّةِ أَنْ أَعْتَكِفَ لَيْلَةً فِي الْمَسْجِدِ الْحَرَامِ، قَالَ " فَأَوْفِ بِنَذْرِكَ ".
English Translation
Narrated Ibn `Umar:`Umar asked the Prophet (ﷺ) "I vowed in the Pre-Islamic period of ignorance to stay in I`tikaf for one night in Al-Masjid al-Haram." The Prophet (ﷺ) said to him, "Fulfill your vow
Source
Sahih al-Bukhari(صحيح البخاري)
Retiring to a Mosque for Remembrance of Allah (I'tikaf)
Hadith Number
2032