It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Whomever you find doing the deed of the people of Lut, kill both the one who does it and the one to whom it is done."
These two narrations are one hadith.
Imam Ahmad (may Allah have mercy on him) narrated it; its first part is narrated through Abu Salamah al-Khuza'i from Abd al-Aziz.
And (with Imam Ahmad) the mention of the animal is narrated through Abd al-Wahhab from Abbad bin Mansur, from Ikrimah, with the same meaning.
And (Imam Ahmad also narrated it) through Abu Sa'id from Sulayman bin Bilal, from Amr; and in these two narrations the saying of Ibn Abbas (may Allah be pleased with them both) is not mentioned.
Abu Dawud (may Allah have mercy on him) narrated it through al-Nufayli from al-Darawardi, Abd al-Aziz.
Al-Tirmidhi (may Allah have mercy on him) narrated it through Muhammad bin Amr al-Sawwaq from Abd al-Aziz, and said: "We know it only from the hadith of Amr and Ikrimah."
And Sufyan (may Allah have mercy on him) narrated from Asim, from Abu Razin, from Sayyiduna Ibn Abbas (may Allah be pleased with them both), that he said: "Whoever commits bestiality with an animal, there is no (prescribed) punishment upon him." Ibn Bashshar narrated this to us through Ibn Mahdi from al-Thawri, and this is more correct.
Al-Nasa'i (may Allah have mercy on him) narrated the part 'whoever commits bestiality with an animal' through Qutaybah bin Sa'id.
And Ibn Majah (may Allah have mercy on him) narrated it through Muhammad bin al-Sabbah and Abu Bakr bin Khallad from Abd al-Aziz, and he did not mention the animal.
Related hadith on this topic
Explanation & Benefits
Shaykh Umar Farooq Saeedi
Benefits and Issues:
In light of the aforementioned narrations, both types of legal verdicts (fatwas) are given regarding acting contrary to the clear natural practice.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 4463