"If men who are fighting hit a pregnant woman and she gives birth prematurely but there is no serious injury, the offender must be fined whatever the woman's husband demands1 and the court allows.
References for Exodus 21:22
But if there is serious injury, you are to take life for life,2
References for Exodus 21:23
eye for eye, tooth for tooth,3 hand for hand, foot for foot,
References for Exodus 21:24
burn for burn, wound for wound, bruise for bruise.
"If a man hits a manservant or maidservant in the eye and destroys it, he must let the servant go free to compensate for the eye.
And if he knocks out the tooth of a manservant or maidservant, he must let the servant go free to compensate for the tooth.