Read Exodus 21:22 Using Other Translations
If 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.
"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 he shall pay as the judges determine.
“Now suppose two men are fighting, and in the process they accidentally strike a pregnant woman so she gives birth prematurely. If no further injury results, the man who struck the woman must pay the amount of compensation the woman’s husband demands and the judges approve.