Sunan At-Tirmidhi
Hadith #1455
Narrated Ibn 'Abbas: That the Messenger of Allah (ﷺ) said: ""Whomever you see having relations with an animal then kill him and kill animal."" So it was said to Ibn 'Abbas: ""What is the case of the animal?"" He said: ""I did not hear anything from the Messenger of Allah (ﷺ) about this, but I see that the Messenger of Allah (ﷺ) disliked eating its meat or using it, due to the fact that such a (heinous) thing has been done with that animal.""