Ubayy bin Kaab reported,

Abdullah narrated to us, Hudbah bin Khalid narrated to us, Hammad narrated to us from Thabit, from Abu Rafi, from Ubayy bin Kaab that the Messenger of Allah ﷺ used to perform itikaf during the last ten days of Ramadan. One year he traveled and did not perform itikaf, so the following year he performed itikaf for twenty days.

Ahmad 21277

Sahih

حدثنا عبد الرحمن بن مهدي وحسن بن موسى وعفان قالوا حدثنا حماد بن سلمة عن ثابت وقال عفان أخبرنا ثابت عن أبي رافع

عن أبي بن كعب

أن رسول الله ﷺ و حدثنا عبد الله حدثنا هدبة بن خالد حدثنا حماد عن ثابت عن أبي رافع عن أبي بن كعب أن رسول الله ﷺ كان يعتكف في العشر الأواخر من رمضان فسافر سنة فلم يعتكف فلما كان العام المقبل اعتكف عشرين يوما

أحمد 21277صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Scholars narrating from Ubayy bin Kaab
Numbering
Darussalam 21277
Ahmad 21277