It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) forbade "killing any living creature after confining it (to use it as a target or to torment it)." And Imam al-Zuhri (may Allah have mercy on him) said (in explanation of it): "Castrating a living creature is also equivalent to confining it and causing it severe torment."
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده صحيح
Hadith Takhrij«عبيد الله بن موسى وابن أبي ذئب والزهري وعبيد الله بن عبد الله بن عتبة ثقات (من الحفظ)؛ والقائل «قال» صاحب المسند المذكور في الصفحة السابقة.» «أخرجه فتح الباري برقم: 5194»