Which preposition to use with penalize

for Occurrences 2%

Her face now was pale and drawn, like that of a hockey centre-forward at a girls' school who, in addition to getting a fruity one on the shin, has just been penalized for "sticks".

with Occurrences 1%

A somewhat unusual note, however, was struck in an act of 1730 which while penalizing with stripes the speaking by a slave of such words as would be actionable if uttered by a free person provided that in his defence the slave might make the same pleas and offer the same evidence as a freeman.

Which preposition to use with  penalize