Setting
1- Give the prescribed shares (of inheritance) to their rightful beneficiaries, and whatever remains after that should be given to the closest male relatives