Then at the LORD's command Moses gave this order to the Israelites: "What the tribe of the descendants of Joseph is saying is right.
This is what the LORD commands for Zelophehad's daughters: They may marry anyone they please as long as they marry within the tribal clan of their father.
No inheritance1 in Israel is to pass from tribe to tribe, for every Israelite shall keep the tribal land inherited from his forefathers.
References for Numbers 36:7
Every daughter who inherits land in any Israelite tribe must marry someone in her father's tribal clan,2 so that every Israelite will possess the inheritance of his fathers.
References for Numbers 36:8
No inheritance may pass from tribe to tribe, for each Israelite tribe is to keep the land it inherits."
So Zelophehad's daughters did as the LORD commanded Moses.
Zelophehad's daughters--Mahlah, Tirzah, Hoglah, Milcah and Noah3--married their cousins on their father's side.
References for Numbers 36:11
They married within the clans of the descendants of Manasseh son of Joseph, and their inheritance remained in their father's clan and tribe.4
References for Numbers 36:12