to hit him/her
Fue cruel de su parte el pegarle a su perro.
It was cruel of him to hit his dog.
Puede que ella haya discutido con él, pero no creo que pudiera pegarle.
She may have argued with him, but I don't think she could have hit him.
¿Para que puedas pegarle a tu perro?
So you can hit your dog?
— Ace Ventura, un detective diferente (1994)