The heads of the families of Gilead came to Moses. Gilead was the son of Makir. The family heads were from the tribe of Manasseh. So they were in the family line of Joseph. They spoke to Moses in front of the leaders of the families of Israel.
References for Numbers 36:1
They said, "The LORD commanded you to give shares of the land to the people of Israel. He told you to use lots when you do it. At that time the LORD ordered you to give our brother Zelophehad's share to his daughters.
"Suppose they get married to men who are from other tribes in Israel. Then their share will be taken away from our family's land. It will be added to the land of the tribe they marry into. So a part of the share that was given to us will be taken away.
The Year of Jubilee for the people of Israel will come. Then their share will be added to the land of the tribe they marry into. Their land will be taken away from the share that was given to our tribe."
Then the LORD gave a command to Moses. He told Moses to give an order to the people of Israel. Moses said, "What the tribe in the family line of Joseph is saying is right.
"Here is what the LORD commands for Zelophehad's daughters. They can get married to anyone they want to. But they have to get married to someone in their own family's tribe.
"Property in Israel must not pass from one tribe to another. Everyone in Israel must keep his family's share of his tribe's land.
"Suppose a daughter in any tribe of Israel receives land from her parents. Then she must get married to someone in her father's family and tribe. In that way, every family's share will remain in its family line in Israel.
"Property can't pass from one tribe to another. Each tribe of Israel must keep the land it receives."
So Zelophehad's daughters did just as the LORD commanded Moses.
The names of the daughters were Mahlah, Tirzah, Hoglah, Milcah and Noah. All of them got married to their cousins on their father's side.
They married men who were in the family line of Manasseh, the son of Joseph. So the land they received remained in their father's family and tribe.
Those are the commands and rules the LORD gave through Moses. He gave them to the people of Israel on the flatlands of Moab. They were by the Jordan River across from Jericho.