Exodus 21:22
Suppose two men are fighting and hit a pregnant woman, causing the baby to come out. If there is no further injury, the man who caused the accident must pay money - whatever amount the woman's husband says and the court allows.
Someone who causes an accidental injury must pay compensation.