section 168 · 134 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 set his face to cut off his son, has said to the judge 'I will cut off my son,' the judge shall enquire into his reasons, and if the son has not committed a heavy crime which cuts off from sonship, the father shall not cut off his son from sonship.