section 119 · 85 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 debt has seized a man, and he has handed over for the money a maidservant who has borne him children, the money the merchant paid him the owner of the maid shall pay, and he shall ransom his maid.