It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Give the fixed shares to those entitled to them; then whatever remains is the right of the nearest male."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10858