Leviticus 25:40-50 NIV

40 He is to be treated as a hired worker1 or a temporary resident among you; he is to work for you until the Year of Jubilee.

References for Leviticus 25:40

      41 Then he and his children are to be released, and he will go back to his own clan and to the property2 of his forefathers.3

      References for Leviticus 25:41

      42 Because the Israelites are my servants, whom I brought out of Egypt,4 they must not be sold as slaves.

      References for Leviticus 25:42

          43 Do not rule over them ruthlessly,5 but fear your God.6

          References for Leviticus 25:43

          44 " 'Your male and female slaves are to come from the nations around you; from them you may buy slaves.
          45 You may also buy some of the temporary residents living among you and members of their clans born in your country, and they will become your property.
          46 You can will them to your children as inherited property and can make them slaves for life, but you must not rule over your fellow Israelites ruthlessly.
          47 " 'If an alien or a temporary resident among you becomes rich and one of your countrymen becomes poor and sells himself7 to the alien living among you or to a member of the alien's clan,

          References for Leviticus 25:47

          48 he retains the right of redemption8 after he has sold himself. One of his relatives9 may redeem him:

          References for Leviticus 25:48

              49 An uncle or a cousin or any blood relative in his clan may redeem him. Or if he prospers,10 he may redeem himself.

              References for Leviticus 25:49

                  50 He and his buyer are to count the time from the year he sold himself up to the Year of Jubilee.11 The price for his release is to be based on the rate paid to a hired man12 for that number of years.

                  References for Leviticus 25:50