Deuteronomy 25:2

EJ2000(i) 2 And it shall be if the wicked man is worthy to be beaten the judge shall cause him to lie down and to be beaten in his presence, according to his fault, by a certain number.