Exodus 21:22-24 CJB

22 "If people are fighting with each other and happen to hurt a pregnant woman so badly that her unborn child dies, then, even if no other harm follows, he must be fined. He must pay the amount set by the woman's husband and confirmed by judges.
23 But if any harm follows, then you are to give life for life,
24 eye for eye, tooth for tooth, hand for hand, foot for foot,