Translation
(32) Virtues of the Night of Qadr
كتاب فضل ليلة القدر
(3) Chapter: To search for the night of Qadr in the odd nights
(3) باب تَحَرِّي لَيْلَةِ الْقَدْرِ فِي الْوِتْرِ مِنَ الْعَشْرِ الأَوَاخِرِ
Sahih al-Bukhari 2022 

Narrated Ibn `Abbas:

Allah's Messenger (ﷺ) said, "The Night of Qadr is in the last ten nights of the month (Ramadan), either on the first nine or in the last (remaining) seven nights (of Ramadan)." Ibn `Abbas added, "Search for it on the twenty-fourth (of Ramadan).

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ أَبِي الأَسْوَدِ، حَدَّثَنَا عَبْدُ الْوَاحِدِ، حَدَّثَنَا عَاصِمٌ، عَنْ أَبِي مِجْلَزٍ، وَعِكْرِمَةَ، قَالَ ابْنُ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ هِيَ فِي الْعَشْرِ، هِيَ فِي تِسْعٍ يَمْضِينَ أَوْ فِي سَبْعٍ يَبْقَيْنَ ‏"‏‏.‏ يَعْنِي لَيْلَةَ الْقَدْرِ‏.‏ قَالَ عَبْدُ الْوَهَّابِ عَنْ أَيُّوبَ‏.‏ وَعَنْ خَالِدٍ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ الْتَمِسُوا فِي أَرْبَعٍ وَعِشْرِينَ‏.‏
Reference : Sahih al-Bukhari 2022
In-book reference : Book 32, Hadith 9
USC-MSA web (English) reference : Vol. 3, Book 32, Hadith 239
  (deprecated numbering scheme)