Man Lā Yaḥḍuruh al-Faqīh

Hadith 517
fitrahzakat
2088 - وَ قَالَ أَبُو عَبْدِ اَللَّهِ عَلَيْهِ اَلسَّلاَمُ : «كَانَتْ بَدْرٌ فِي شَهْرِ رَمَضَانَ فَلَمْ يَعْتَكِفْ رَسُولُ اَللَّهِ صَلَّى اَللَّهُ عَلَيْهِ وَ آلِهِ فَلَمَّا أَنْ كَانَ مِنْ قَابِلٍ اِعْتَكَفَ عَشْرَيْنِ عَشْراً لِعَامِهِ وَ عَشْراً قَضَاءً لِمَا فَاتَهُ ».
Hadith.2088 - Abu Abdullah (as) said: "The Battle of Badr occurred in the Month of Ramadan, so the Messenger of Allah (swt) (peace and blessings be upon him and his family) did not perform i'tikaf that year. However, in the following year, he performed i'tikaf for twenty days: ten days for that year's obligation and ten days as compensation for what he had missed."
Source: Shaykh Muḥammad b. ʿAlī al-Ṣaduq