Exodus 21:22
"If two men are fighting and they strike a pregnant woman and her children are born prematurely, but there is no harm, he is certainly to be fined as the husband of the woman demands of him, and he will pay as the court decides.
Deuteronomy 22:18-19
The elders of that city will then take the man, punish him,
Exodus 21:30
If a fine is imposed on him, he may pay all that was imposed on him as a ransom for his life.
Deuteronomy 16:18
"Appoint judges and civil servants according to your tribes in all your cities that the LORD your God is about to give you, so they may judge the people impartially.