If there be a controversy between men, and they come unto judgment, that the judges may judge them; then they shall justify the righteous, and condemn the wicked.
And it shall be, if the wicked man be worthy to be beaten, that the judge shall cause him to lie down, and to be beaten before his face, according to his fault, by a certain number. Forty stripes he may give him, and not exceed: lest, if he should exceed, and beat him above these with many stripes, then thy brother should seem vile unto thee.
Thou shalt not muzzle the ox when he treadeth out the corn. Deuteronomy 25:1-4
References: Deuteronomy 24; 1 Corinthians 9:9-10; 2 Corinthians 11:24-25; James 2:2-3