"When the feast of Passover came...a Moabite shepherd came to David and talked with him saying,
'My lord the King, you have know that I, your servant, have been loyal to Israel from my youth,
an now take me away from dwelling among uncircumcised people and circumcise the flesh of my
foreskin to take away my reproach, so that I can sit among your People'
And David said, 'the LORD does not want your people', and He commanded
'An Amorite or a Moabite shall not enter into the assembly of the LORD forever' (Deut. 23:3)
'And we cannot seek your peace nor your prosperity, but can I help you today?'
The servant answered, 'Is it not true that Ruth was of our people, and you are one of her children
and descendants forever?'
David said, 'You have given an compelling argument. Stand here with me to ask from the mouth of the LORD.'
And David asked the LORD (using the Urim and Thummim) about the statement of the Moabite servant.
David said, 'Oh LORD of hosts, please teach me wondrous things out of your Law so that I may know
how to rule for this servant, and what should be done with him.'
And the LORD said to Nathan the prophet....'This is what the LORD says,
Tell the Moabite "You are a Moabite man, not a Moabite woman, for I never said 'Moabite man' or
'Ammonite woman' because their women and daughters belong to the LORD. however
you are cursed by the LORD, and forbidden to enter the LORD's assembly.'
And when the Moabite heard the words of the LORD he exclaimed
'I am forbidden from entering the assembly of the LORD."
And the King appointed him a shepherd among the shepherds of David, and he was there until
the third year of the reign of Solomon, when he died.
And he had a daughter named Sephirah, ...and Solomon took her as one of his concubines, and
she found favor in his sight more than all the other concubines and became chief over
all the concubines residence. (possibly wife status)
And this became the statute in Israel forever."
- Book of Gad the Seer, Chapter 9
Commentary:
Women became a part of whatever tribe they married into, Males stay in the same tribe of birth.
The Moabite and his family were still accepted among Israel, and lived out their lives there.
The daughter possibly became part of Israel proper.