Anas bin Malik reported,

The Prophet ﷺ used to perform itikaf during the last ten days of Ramadan. One year he did not perform itikaf, so the following year he performed itikaf for twenty days.

Azami 4700

Sahih

عن أنس بن مالك، قال

كان النبي ﷺ يعتكف في العشر الأواخر من رمضان. فلم يعتكف عاما، فلما كان العام المقبل اعتكف عشرين.

الأعظمي 4700صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Itikaf
Section
Making up itikaf by combining it with the following year
Numbering
Jami al-Kamil 4700 (2nd edition)
Azami 4700