← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #6487 · Laws of Inheritance (Al-Faraa'id)

Narrated Ibn `Abbas:

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا وُهَيْبٌ، حَدَّثَنَا ابْنُ طَاوُسٍ، عَنْ أَبِيهِ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ أَلْحِقُوا الْفَرَائِضَ بِأَهْلِهَا، فَمَا بَقِيَ فَهْوَ لأَوْلَى رَجُلٍ ذَكَرٍ ‏"‏‏.‏

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