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 the tribal clan of their father.
7 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

8 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

9 No inheritance may pass from tribe to tribe, 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, Milcah and Noah3--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 clan and tribe.4

References for Numbers 36:12