Translation
(85) Laws of Inheritance (Al-Faraa'id)
كتاب الفرائض
(9) Chapter: The shares of inheritance for the paternal grandfather, the father and brothers
(9) باب مِيرَاثِ الْجَدِّ مَعَ الأَبِ وَالإِخْوَةِ
Sahih al-Bukhari 6737 

Narrated Ibn `Abbas:

The Prophet (ﷺ) said, "Give the Fara'id, (the shares prescribed in the Qur'an) to those who are entitled to receive it, and then whatever remains, should be given to the closest male relative of the deceased."

حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، حَدَّثَنَا وُهَيْبٌ، عَنِ ابْنِ طَاوُسٍ، عَنْ أَبِيهِ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ أَلْحِقُوا الْفَرَائِضَ بِأَهْلِهَا فَمَا بَقِيَ فَلأَوْلَى رَجُلٍ ذَكَرٍ ‏"‏‏.‏
Reference : Sahih al-Bukhari 6737
In-book reference : Book 85, Hadith 14
USC-MSA web (English) reference : Vol. 8, Book 80, Hadith 729
  (deprecated numbering scheme)