The Messenger of Allah ﷺ said, "Whoever has intercourse with a Muharram relative, kill him. And whoever has intercourse with an animal, kill him and kill the animal as well."
حدثنا عبد الرحمن بن إبراهيم الدمشقي حدثنا ابن أبي فديك عن إبراهيم بن إسمعيل عن داود بن الحصين عن عكرمة
قال رسول الله ﷺ من وقع على ذات محرم فاقتلوه ومن وقع على بهيمة فاقتلوه واقتلوا البهيمة
[Sahih] Reported by Tirmidhi, Hudud, chapter on one who says to another "you effeminate one," no. 1462, from the hadith of Ibn Abu Fudayk with part of it, and he said, "Ibrahim bin Ismail is graded daif in hadith," and regarding intercourse with a blood relative there is a corroborating witness that will come, no. 2607. See also nos. 1032, 2561, 2562, which are sufficient in place of it.