The Messenger of Allah ﷺ said, "Kill both the active and passive participants in the act of the people of Lut. Kill the animal and the one who has intercourse with the animal. And whoever has intercourse with a woman who is a Muharram relative, kill him."
حدثنا أبو القاسم بن أبي الزناد قال أخبرني ابن أبي حبيبة عن داود بن الحصين عن عكرمة
قال رسول الله ﷺ اقتلوا الفاعل والمفعول به في عمل قوم لوط والبهيمة والواقع على البهيمة ومن وقع على ذات محرم فاقتلوه