The Messenger of Allah ﷺ said, "Give the fixed shares to those entitled to them, and whatever remains goes to the nearest male relative."
حدثنا يحيى بن آدم حدثنا وهيب بن خالد عن ابن طاوس عن أبيه
قال رسول الله ﷺ ألحقوا الفرائض بأهلها فما بقي فلأولى رجل ذكر