Sahih Muslim | Book 11 | Hadith Number 3929

Narrated by Ibn Abbas (Allah be pleased with them)
Ibn Abbas (Allah be pleased with them) reported Allah's Messenger (may peace be upon him) as saying: Give the shares to those who are entitled to them, and what remains over goes to the nearest male heir.