Jami` at-Tirmidhi, Book 17, Hadith 40 (Tirmidhi 1478)

Narrated Ibn 'Abbas:

That the Messenger of Allah (ﷺ) said: "Whomever you find doing the actions of the people of Lut then kill the one doing it, and the one it is done to."