Exodus 21:7

If anyone sells his daughter to be a servant, she shall not depart as a female servant is accustomed to go out

Other versions

King James Version

And if a man sell his daughter to be a maidservant, she shall not go out as the menservants do.

English Standard Version

"When a man sells his daughter as a slave, she shall not go out as the male slaves do.

New International Version

"If a man sells his daughter as a servant, she is not to go free as menservants do.