Ubayy bin Kaab reported,

The Messenger of Allah ﷺ used to observe spiritual retreat during the last ten days of Ramadan. One year he traveled and did not observe the retreat, so the following year he observed it for twenty days.

Azami 4699

Sahih

عن أبي بن كعب

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

الأعظمي 4699صحيح
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 4699 (2nd edition)
Azami 4699