[Machine] Narrated by Abdullah, Hudbah bin Khaled reported to us, Hammad reported to us from Thabit, from Abu Rafe', from Ubayy ibn Ka'b, that the Messenger of Allah used to observe i'tikaf during the last ten days of Ramadan. However, one year he was unable to observe i'tikaf due to circumstances. Then, the following year, he observed i'tikaf for twenty days.
أَنَّ رَسُولَ اللهِ ﷺ وَحَدَّثَنَا عَبْدُ اللهِ حَدَّثَنَا هُدْبَةُ بْنُ خَالِدٍ حَدَّثَنَا حَمَّادٌ عَنْ ثَابِتٍ عَنْ أَبِي رَافِعٍ عَنْ أُبَيِّ بْنِ كَعْبٍ أَنَّ رَسُولَ اللهِ ﷺ كَانَ يَعْتَكِفُ فِي الْعَشْرِ الْأَوَاخِرِ مِنْ رَمَضَانَ فَسَافَرَ سَنَةً فَلَمْ يَعْتَكِفْ فَلَمَّا كَانَ الْعَامُ الْمُقْبِلُ اعْتَكَفَ عِشْرِينَ يَوْمًا