Exodus 21:7

If a man sells his daughter as a female slave, she is not to go free as the male slaves do.