exodus 21:22-21:25

22 When people who are fighting injure a pregnant woman so that there is a miscarriage, and yet no further harm follows, the one responsible shall be fined what the womans husband demands, paying as much as the judges determine.
23If any harm follows, then you shall give life for life,
24eye for eye, tooth for tooth, hand for hand, foot for foot,
25burn for burn, wound for wound, stripe for stripe.