Exodus 21: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 he shall pay as the judges determine.
Deuteronomy 22:18-19
Then the elders of that city shall take the man and whip him,
Exodus 21:30
If a ransom is imposed on him, then he shall give for the redemption of his life whatever is imposed on him.
Deuteronomy 16:18
"You shall appoint judges and officers in all your towns that the LORD your God is giving you, according to your tribes, and they shall judge the people with righteous judgment.