section 32 · 32 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 ganger or a constable who is diverted on an errand of the king's, a merchant has ransomed him and caused him to regain his city, if in his house there is means for his ransom, he shall ransom his own self; if in his house there is no means for his ransom, he shall be ransomed from the temple of his city; if in the temple of his city there is not means for his ransom, the palace shall ransom him. His field, his garden, and his house shall not be given for his ransom.