Allah, Exalted be His praise, says: "And (We sent) Lut (peace be upon him), when he said to his people: Do you commit an indecency such as no one in all the worlds committed before you? Indeed, you approach men with desire instead of women; rather, you are a people who transgress all bounds." [Surah al-A'raf: 80-81]
And concerning the punishment that descended upon them, He said: "So when Our command came, We turned its (the town's) upper part into its lower part and rained upon it stones of baked clay, layer upon layer, marked from your Lord; and it (the town) is not far from these wrongdoers." [Surah Hud: 82-83]
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحدود / Q17017
Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) says that the Prophet (peace and blessings be upon him) said: "The curse of Allah is upon the one who wrongfully takes as patrons those who are not his own, the one who seizes land, the one who leads a blind man astray from the road, the one who curses his parents, the one who slaughters for other than Allah, the one who commits bestiality with an animal, and the one who does the deed of the people of Lut; upon him is the curse of Allah three times."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحدود / 17017