Sunan Ibn Majah, Book 20, Hadith 29 (Ibn Majah 2563)

It was narrated from Ibn`Abbas that the Messenger of Allah (ﷺ) said:

“Whoever you find doing the action of the people of Lut, kill the one who does it, and the one to whom it is done.”