section 117 · 83 of 248
The Code of Hammurabi
English, translated by C. H. W. Johns — Johns, The Oldest Code of Laws in the World, Edinburgh, 1903
If a man a debt has seized him, and he has given his wife, his son, his daughter for the money, or has handed over to work off the debt, for three years they shall work in the house of their buyer or exploiter, in the fourth year he shall fix their liberty.