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." (Using translation from Tirmidhī 1455)
قَالَ رَسُولُ اللهِ ﷺ مَنْ وَجَدْتُمُوهُ وَقَعَ عَلَى بَهِيمَةٍ فَاقْتُلُوهُ وَاقْتُلُوا الْبَهِيمَةَ مَعَهُ فَقِيلَ لِابْنِ عَبَّاسٍ مَا شَأْنُ الْبَهِيمَةِ؟ فَقَالَ مَا سَمِعْتُ مِنْ رَسُولِ اللهِ ﷺ فِي ذَلِكَ شَيْئًا وَلَكِنْ أَرَى رَسُولَ اللهِ ﷺ كَرِهَ أَنْ يُؤْكَلَ مِنْ لَحْمِهَا أَوْ يُنْتَفَعَ بِهَا بَعْدَ ذَلِكَ الْعَمَلِ