أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، قَالَ أَنْبَأَنَا أَبُو خَالِدٍ، سُلَيْمَانُ بْنُ حَيَّانَ قَالَ حَدَّثَنَا حُمَيْدٌ، عَنْ أَنَسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَضَى بِالْقِصَاصِ فِي السِّنِّ وَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ كِتَابُ اللَّهِ الْقِصَاصُ ‏"‏ ‏.‏
Translation
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).