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 committing the act of the people of Lut, kill both the one who does it and the one to whom it is done."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11478