Exodus 21 22
If men who are fighting happen to hit a pregnant woman so she gives birth prematurely, but no serious injury occurs, he must be fined whatever amount the woman's husband demands and as permitted by the judges.
Compare with other 3 random translations
EAS Exodus 21:22When two men fight together, perhaps one of them may hit a pregnant woman. As a result of the fight, she may give birth to her child before the right time. If the man has not hurt the woman very much, he must pay money to her husband. He must pay the amount of money that the husband demands. A judge must agree that the money for his punishment is fair.
NKJ Exodus 21:22“If men fight, and hurt a woman with child, so that she gives birth prematurely, yet no harm follows, he shall surely be punished accordingly as the woman’s husband imposes on him; and he shall pay as the judges determine.
KJV Exodus 21:22If men strive, and hurt a woman with child, so that her fruit depart from her, and yet no mischief follow: he shall be surely punished, according as the woman’s husband will lay upon him; and he shall pay as the judges determine.