[Machine] From the Prophet ﷺ, it was narrated that he used to observe i'tikaf during the last ten days of the month of Ramadan. But in the year he passed away, he observed i'tikaf for twenty days.
عَنِ النَّبِيِّ ﷺ أَنَّهُ كَانَ يَعْتَكِفُ الْعَشْرَ الْأَوَاخِرَ مِنْ شَهْرِ رَمَضَانَ فَلَمَّا كَانَ الْعَامُ الَّذِي قُبِضَ فِيهِ اعْتَكَفَ عِشْرِينَ