Hadith 3998

عَنْ أَنَسِ (بْنِ مَالِكٍ) رَضِيَ اللَّهُ عَنْهُ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِذَا كَانَ مُقِيمًا اعْتَكَفَ الْعَشْرَ الْأَوَاخِرَ مِنْ رَمَضَانَ وَإِذَا سَافَرَ اعْتَكَفَ مِنَ الْعَامِ الْمُقْبِلِ عِشْرَيْنَ
Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates that when the Noble Prophet (peace and blessings be upon him) was residing, he would observe i'tikaf during the last ten days of Ramadan, but if he traveled during this period, then the following year he would observe i'tikaf for twenty days.
Hadith Reference الفتح الربانی / كتاب الصيام / 3998
Hadith Grading محدثین: صحیح
Hadith Takhrij «اسناده صحيح علي شرط الشيخين۔ اخرجه الترمذي: 803، (انظر مسند أحمد ترقيم الرسالة: 12017 ترقیم بيت الأفكار الدولية: 12040»