Sunan Ibn Majah, Book 20, Hadith 30 (Ibn Majah 2564)

It was narrated from Abu Hurairah that the Prophet (ﷺ) said concerning those who do the action of the people of Lut:

“Stone the upper and the lower, stone them both.”