Num 27:5-11

5Moses brought their case before the Lord.6And the Lord spoke to Moses, saying:7The daughters of Zelophehad are right in what they are saying; you shall indeed let them possess an inheritance among their father's brothers and pass the inheritance of their father on to them.8You shall also say to the Israelites, “If a man dies, and has no son, then you shall pass his inheritance on to his daughter.9If he has no daughter, then you shall give his inheritance to his brothers.10If he has no brothers, then you shall give his inheritance to his father's brothers.11And if his father has no brothers, then you shall give his inheritance to the nearest kinsman of his clan, and he shall possess it. It shall be for the Israelites a statute and ordinance, as the Lord commanded Moses.”