The Prophet (ﷺ) used to observe i'tikaf during the last ten days of Ramadan. One year he…

Sunan Abu Dawud Book 14 Hadith 151

Sunan Abu Dawud #2463

Fasting (Kitab Al-Siyam) 14:151

Narrated Ubayy ibn Ka'b:

The Prophet (ﷺ) used to observe i'tikaf during the last ten days of Ramadan. One year he did not observe i'tikaf. When the next year came, he observed i'tikaf for twenty nights (i.e. days).

Chapter: Al-I'tikaf

Grade: Sahih (Al-Albani)