IBNHIBBAN 3663: from Ubay b. Kaʿb —
Ibn 'Umar (Allah be pleased with both of them) reported that the Messenger of Allah ﷺ used to observe i'tikaf in the last ten days of Ramadan. (Using translation from Muslim 1171a)

ابن حبّان ٣٦٦٣: عن ابي بن كعب —
«أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ يَعْتَكِفُ فِي الْعَشْرِ الْأَوَاخِرِ مِنْ رَمَضَانَ فَسَافَرَ وَلَمْ يَعْتَكِفْ فَلَمَّا كَانَ مِنَ الْعَامِ الْمُقْبِلِ اعْتَكَفَ عِشْرِينَ يَوْمًا»


Sound (Arnaʾūṭ)
Ibn Ḥibbān > Book of Fasting > § [Machine] Al-Itikaf and Laylat al-Qadr
hadithunlocked.com