"...neither shall you do this in your land"Leviticus 22:24.

It is forbidden to cause castration to a male – whether human or animal – by damaging his genitals. It is forbidden even to further damage the genitals of a male who has already been castrated.