And if thy brother, a Hebrew man, or a Hebrew woman, shall be sold to thee, and serve thee six years; then in the seventh year thou shalt let him go free from thee.
Deuteronomy 15
Deuteronomy 15:7-14