مشكوة المصابيح Mishkat al-Masabih كتاب الصوم The Book of Fasting
(رَسُولُ اللَّهِ ﷺ اعْتَكَفَ عِشْرِينَ يَوْمًا فِي سَنَةِ وَفَاتِهِ)

(The Prophet ﷺ performed 20 days of I'tikaf in the year of his passing)

1 hadith
Hadith 2099
وَعَن أبي هُرَيْرَة قَالَ: كَانَ يعرض على النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْقُرْآنَ كُلَّ عَامٍ مَرَّةً فَعَرَضَ عَلَيْهِ مَرَّتَيْنِ فِي الْعَامِ الَّذِي قُبِضَ وَكَانَ يَعْتَكِفُ كُلَّ عَامٍ عَشْرًا فَاعْتَكَفَ عِشْرِينَ فِي الْعَامِ الَّذِي قُبِضَ. رَوَاهُ البُخَارِيّ
Abu Huraira said that the Qur’an was gone over* to the Prophet once annually, but that this was done twice in the year in which he died. He used to engage in private devotions in the mosque during ten nights every year, but he did this during twenty nights in the year in which he died. *Mirqat remarks that some expositors say the passive is used here because the person who went over the Quran to the Prophet was well-known, viz. Gabriel. Bukhari transmitted it.
Hadith Reference Mishkat al-Masabih / The Book of Fasting / Hadith: 2099
Hadith Grading الألبانی: صَحِيح  |  زبیر علی زئی: صحيح
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «رواه البخاري (4998)»