Translation
(33) Retiring to a Mosque for Remembrance of Allah (I'tikaf)
كتاب الاعتكاف
(1) Chapter: The I'tikaf in the last ten days of Ramadan.
(1) باب الاِعْتِكَافِ فِي الْعَشْرِ الأَوَاخِرِ
Sahih al-Bukhari 2025 

Narrated `Abdullah bin `Umar:

Allah's Messenger (ﷺ) used to practice I`tikaf in the last ten days of the month of Ramadan.

حَدَّثَنَا إِسْمَاعِيلُ بْنُ عَبْدِ اللَّهِ، قَالَ حَدَّثَنِي ابْنُ وَهْبٍ، عَنْ يُونُسَ، أَنَّ نَافِعًا، أَخْبَرَهُ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يَعْتَكِفُ الْعَشْرَ الأَوَاخِرَ مِنْ رَمَضَانَ‏.‏
Reference : Sahih al-Bukhari 2025
In-book reference : Book 33, Hadith 1
USC-MSA web (English) reference : Vol. 3, Book 33, Hadith 242
  (deprecated numbering scheme)