Exodus 21:22-27

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,
24 eeye for eye, tooth for tooth, hand for hand, foot for foot, 25burn for burn, wound for wound, stripe for stripe.

26When a man strikes the eye of his slave, male or female, and destroys it, he shall let the slave go free because of his eye. 27If he knocks out the tooth of his slave, male or female, he shall let the slave go free because of his tooth.

Leviticus 24:19-20

19If anyone injures his neighbor, fas he has done it shall be done to him, 20fracture for fracture, eye for eye, tooth for tooth; whatever injury he has given a person shall be given to him.

Deuteronomy 19:19

19 gthen you shall do to him as he had meant to do to his brother. So you shall purge the evil
Or  evil person
from your midst.
Copyright information for ESV