(1) باب أَلْحِقُوا الْفَرَائِضَ بِأَهْلِهَا فَمَا بَقِيَ فَلأَوْلَى رَجُلٍ ذَكَرٍ
Tawus reported on the authority of Ibn Abbas (Allah be pleased with them) narrating that Allah's Messenger (ﷺ) said:
Distribute the property amongst Ahl al-Fara'id, according to the Book of Allah, and what is left out of them goes to the nearest male heir.
Reference: Sahih Muslim 1615 c
In-book reference: Book 23, Hadith 4
USC-MSA web (English) reference(deprecated numbering scheme): Book 11, Hadith 3931
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.