Exodus 21:22-23

22“When men strive together and hit a pregnant woman, so that her children come out, but there is no harm, the one who hit her shall surely be fined, as the woman’s husband shall impose on him, and ahe shall pay as the bjudges determine. 23But if there is harm,
Or  so that her children come out and it is clear who was to blame, he shall be fined as the woman’s husband shall impose on him, and he alone shall pay. If it is unclear who was to blame . . .
then you shall pay dlife for life,
Copyright information for ESV