Hadithcore
Mishkat al-Masabih, 3576

Ibn ‘Abbas reported God’s Messenger as saying, “If anyone has sexual intercourse with an animal, kill him and kill it along with him.” Ibn ‘Abbas was asked what offence could be attributed to the animal and replied, “I did not hear anything about that from God’s Messenger, but I think he disapproved of its flesh being eaten or of any use being made of it when such a thing had been done to it.” Tirmidhi, Abu Dawud and Ibn Majah transmitted it.

وَعَنِ ابْنِ عَبَّاسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ أَتَى بَهِيمَةً فَاقْتُلُوهُ وَاقْتُلُوهَا مَعَهُ» . قِيلَ لِابْنِ عَبَّاسٍ: مَا شَأْنُ الْبَهِيمَةِ؟ قَالَ: مَا سَمِعْتُ مِنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي ذَلِكَ شَيْئا وَلَكِن أره كَرِهَ أَنْ يُؤْكَلَ لَحْمُهَا أَوْ يُنْتَفَعَ بِهَا وَقَدْ فُعِلَ بِهَا ذَلِكَ. رَوَاهُ التِّرْمِذِيُّ وَأَبُو دَاوُد وَابْن مَاجَه

References1 variant
In-Book Reference
Book 17, Hadith 22
Related hadiths2
Compare isnād across 2 related chains →