section 280 · 246 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 has bought in a foreign land the manservant or the maidservant of a man, when he has come into the land, and the owner of the manservant or the maidservant has recognised his manservant or his maidservant, if the manservant or maidservant are natives without price he shall grant them their freedom.