Sunan an-Nasa'i #4754
The Book of Oaths (qasamah), Retaliation and Blood Money 45:49
It was narrated from Samurah that the Prophet of Allah said:
"Whoever castrates his slave, we will castrate him, and whoever mutilates his slave, we will mutilate him." This is the wording of Ibn Bashshar (one of the narrators).