Numbers 36:5-6

5And Moses commanded the people of Israel according to the word of the  Lord, saying, “The tribe of the people of Joseph a  is right. 6This is what the  Lord commands concerning the daughters of Zelophehad: ‘Let them marry whom they think best b  only they shall marry within the clan of the tribe of their father.
Copyright information for ESV