section 137 · 103 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 put away his concubine who has borne him children or his wife who has granted him children, to that woman he shall return her her marriage portion and shall give her the usufruct of field, garden, and goods, and she shall bring up her children. From the time that her children are grown up, from whatever is given to her children they shall give her a share like that of one son, and she shall marry the husband of her choice.