And [We had sent] Lot when he said to his people, "Do you commit such immorality as no one has preceded you with from among the worlds? Indeed, you approach men with desire, instead of women. Rather, you are a transgressing people." But the answer of his people was only that they said, "Evict them from your city! Indeed, they are men who keep themselves pure." (Ayat 80-82
Moses in the Hebrew Bible referred to the destruction of Sodom and Gomorrah in Deuteronomy 29:22-23:
"Your children who follow you in later generations and foreigners who come from distant lands will see the calamities that have fallen on the land and the diseases with which the lord has afflicted it. The whole land will be a burning waste of salt and sulfur-nothing planted, nothing sprouting, no vegetation growing on it. It will be like the destruction of Sodom and Gomorrah, Admah and Zeboyim, which the Lord overthrew in fierce anger."
Lut (or Lot in the Taurat/Bible) was the nephew of Ibrahim (PBUH). He had chosen to live in a city full of wicked people. In the Taurat and Qur'an we can see that people of sodom are were extremely perverse.