Exodus 21:2

If you buy a Hebrew servant, he shall serve six years; and in the seventh he shall go out free and pay nothing.