Bamidbar (Numbers): Massei > Ch 36
Heads of the family of the sons of Gilead tell Moses that daughters of Zelophehad will lose their inheritance through marriage
The paternal heads of the family of the sons of Gilead the son of Machir the son of Manasseh of the families of the sons of Joseph approached and spoke before Moses and before the chieftains, the paternal heads of the children of Israel. They said, "The Lord commanded my master to give the Land as an inheritance through lot to the children of Israel, and our master was commanded by the Lord to give the inheritance of Zelophehad our brother to his daughters. Now, if they marry a member of another tribe of the children of Israel, their inheritance will be diminished from the inheritance of our father, and it will be added to the inheritance of the tribe into which they marry, and thus, it will be diminished from the lot of our inheritance. Even if the children of Israel will have a Jubilee, their inheritance will be added to the inheritance of the tribe into which they marry, and their inheritance will be diminished from the inheritance of our father's tribe."
G-d tells Moses that all daughters who inherit land should marry only to the family of their father’s tribe
Moses commanded the children of Israel according to the word of the Lord, saying, "The tribe of Joseph's descendants speak justly. This is the word that the Lord has commanded regarding Zelophehad's daughters. Let them marry whomever they please, but they shall marry only to the family of their father's tribe. Thus, the inheritance of the children of Israel will not be transferred from tribe to tribe, for each person from the children of Israel will remain attached to the inheritance of his father's tribe.
Every daughter from the tribes of the children of Israel who inherits property, shall marry a member of her father's tribe, so each one of the children of Israel shall inherit the property of his forefathers. And no inheritance will be transferred from one tribe to another tribe, for each person of the tribes of the children of Israel shall remain attached to his own inheritance."
As the Lord had commanded Moses, so did Zelophehad's daughters do. Mahlah, Tirzah, Hoglah, Milcah, and Noah married their cousins. They married into the families of the sons of Manasseh the son of Joseph, and their inheritance remained with the tribe of their father's family.
These are the commandments and the ordinances that the Lord commanded the children of Israel through Moses in the plains of Moab, by the Jordan at Jericho.