صحيح البخاري Sahih Bukhari كتاب الفرائض The Book of Al-Farad (The Laws of Inheritance)
بَابُ مِيرَاثِ الْجَدِّ مَعَ الأَبِ وَالإِخْوَةِ:

(9) Chapter. The shares of inheritance for the (living) paternal grandfather, the father and brothers of the deceased.

2 hadith
Hadith 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."
Hadith Reference Sahih Bukhari / The Book of Al-Farad (The Laws of Inheritance) / Hadith: 6737
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 6738
حَدَّثَنَا أَبُو مَعْمَرٍ ، حَدَّثَنَا عَبْدُ الْوَارِثِ ، حَدَّثَنَا أَيُّوبُ ، عَنْ عِكْرِمَةَ ، عَنْ ابْنِ عَبَّاسٍ ، قَالَ : أَمَّا الَّذِي ، قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " لَوْ كُنْتُ مُتَّخِذًا مِنْ هَذِهِ الْأُمَّةِ خَلِيلًا ، لَاتَّخَذْتُهُ وَلَكِنْ خُلَّةُ الْإِسْلَامِ أَفْضَلُ " أَوْ قَالَ خَيْرٌ ، فَإِنَّهُ أَنْزَلَهُ أَبًا أَوْ قَالَ قَضَاهُ أَبًا .
Narrated Ibn `Abbas: The person about whom Allah's Apostle said, "If I were to take a Khalil from this nation (my followers), then I would have taken him (i.e., Abu Bakr), but the Islamic Brotherhood is better (or said: good)," regarded a grandfather as the father himself (in inheritance).
Hadith Reference Sahih Bukhari / The Book of Al-Farad (The Laws of Inheritance) / Hadith: 6738
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة