Leviticus 25:40

25:40 He must be with you as a hired worker, as a resident foreigner; he must serve with you until the year of jubilee,

Leviticus 25:53

25:53 He must be with the one who bought him like a yearly hired worker. The one who bought him must not rule over him harshly in your sight.