Narrated Ubayy ibn Kab: The Prophet ﷺ used to observe Itikaf during the last ten days of Ramadan. One year he did not observe Itikaf. When the next year came, he observed Itikaf for twenty nights (i. e. days).
Hadith Referenceسنن ابي داود / كتاب الصيام / 2463
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده صحيح, مشكوة المصابيح (2102، 2103), أخرجه ابن ماجه (1770 وسنده صحيح) وصححه ابن خزيمة (2225 وسنده صحيح)
Hadith Takhrij« سنن ابن ماجہ/الصیام 58 (1770)، (تحفة الأشراف: 16538)، وقد أخرجہ: مسند احمد (5/141) (صحیح) »
Benefits and Issues: Making up missed voluntary acts of worship (nafl a‘maal) is not obligatory, but there is great reward and virtue in performing them. In particular, the Prophet sallallahu alayhi wa sallam used to be diligent in this regard.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 2463
´It was narrated from Ubayy bin Ka’b that:` The Prophet (ﷺ) used to spend the last ten days of Ramadan in I’tikaf. One year he was traveling, so the following year he spent twenty days in I’tikaf.
Maulana Ataullah Sajid
Benefit: If the incident mentioned in this hadith is the same as the one mentioned in the previous hadith, then "the following year" refers to the year after next, skipping one year. This is because the Ramadan in which there was travel was during the conquest of Makkah in 8 AH, and the Prophet (sallallahu alayhi wa sallam) performed i'tikaf for twenty days in the Ramadan of 10 AH. It is possible that he also performed i'tikaf for twenty days in 9 AH. And Allah knows best.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 1770