Sayyiduna Abdullah bin Abbas (may Allah be pleased with them) narrates that the Prophet Muhammad (peace and blessings be upon him) said: "Give the prescribed shares to those who are entitled to them, and whatever remains after that will go to the closest male relative."