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." (ES)
English reference (ES): Vol. 3, Book 20, Hadith 2562 (ES)
Arabic reference (ES): Book 20, Hadith 2659 (ES)