Deuteronomy 19:18
19:18 The judges will thoroughly investigate the matter, and if the witness should prove to be false and to have given false testimony against the accused,
Deuteronomy 21:2
21:2 your elders and judges must go out and measure how far it is to the cities in the vicinity of the corpse.
Deuteronomy 25:2
25:2 Then, if the guilty person is sentenced to a beating, the judge shall force him to lie down and be beaten in his presence with the number of blows his wicked behavior deserves.