section 135 · 101 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 been taken captive and in his house there is no maintenance before her, his wife has entered into the house of another and has borne children, afterwards her husband has returned and regained his city, that woman shall return to her bridegroom, the children shall go after their father.