Hadith 19

Sahih Bukhari

Book 33: Retiring to a Mosque for Remembrance of Allah (I'tikaf)

Chapter 17

I'tikaf in the middle ten days of Ramadan

باب الاِعْتِكَافِ فِي الْعَشْرِ الأَوْسَطِ مِنْ رَمَضَانَ

Sahih al-Bukhari 2044
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو بَكْرٍ، عَنْ أَبِي حَصِينٍ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم يَعْتَكِفُ فِي كُلِّ رَمَضَانَ عَشْرَةَ أَيَّامٍ، فَلَمَّا كَانَ الْعَامُ الَّذِي قُبِضَ فِيهِ اعْتَكَفَ عِشْرِينَ يَوْمًا‏.‏
Abu Huraira:

The Prophet (ﷺ) used to perform I`tikaf every year in the month of Ramadan for ten days, and when it was the year of his death, he stayed in I`tikaf for twenty days.