Numbers 36:5-12 NIV

5 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.
6 This is what the LORD commands for Zelophehad’s daughters: They may marry anyone they please as long as they marry within their father’s tribal clan.
7 No inheritance in Israel is to pass from one tribe to another, for every Israelite shall keep the tribal inheritance of their ancestors.

References for Numbers 36:7

8 Every daughter who inherits land in any Israelite tribe must marry someone in her father’s tribal clan, so that every Israelite will possess the inheritance of their ancestors.

References for Numbers 36:8

9 No inheritance may pass from one tribe to another, for each Israelite tribe is to keep the land it inherits.”
10 So Zelophehad’s daughters did as the LORD commanded Moses.
11 Zelophehad’s daughters—Mahlah, Tirzah, Hoglah, Milkah and Noah—married their cousins on their father’s side.

References for Numbers 36:11

12 They married within the clans of the descendants of Manasseh son of Joseph, and their inheritance remained in their father’s tribe and clan.

References for Numbers 36:12