Give the prescribed shares (of inheritance) to those who are entitled to them, and whatever remains goes to the nearest male relative
Ibn ‘Abbās (may Allah be pleased with him and his father) reported that the Prophet (ﷺ) said: "Give the prescribed shares (of inheritance) to those who are entitled to them, and whatever remains goes to the nearest male relative."

