In the towns of Sodom and Gomorrah situated in the neighbourhood of the Dead Sea (also known as Loot Sea) on the road from Arabia to Syria (now known as Trans Jordan) the people indulged in indecent sexual activities and created mischief. HAZRAT LOOT ALAIHISSALAM (or Lot) was sent to them. He was paternal nephew of Prophet Ibrahim. He had lived with Prophet Ibrahim for some time in Syria, Palestine and Egypt.
Quran says: and (We sent) Loot, so when he said to his people: do you commit an abomination which no one in the world did before you? Surely you come to males with lust instead of females. Nay, you are a people exceeding bounds. And the answer of his people was no other than that they said: turn them (i.e. Loot and his followers) out of your town, surely they (i.e. Loot and his followers) are a people who aspire to purity (Aaraf. 7:80-82).
Allah says: so We delivered him (i.e. Loot) and his followers except his wife—she was of those who remained behind. And we rained upon them a rain. See then, what was the end of the guilty (Aaraf, 7:83-84).
As to how the Sodomites and Goromites were destroyed, Allah says: and certainly Our Messengers came to Ibrahim with good news. They said: Peace! Peace! said he. And he made no delay in bringing a roasted calf. But when he saw that their hands reached not it, he mistrusted them and conceived fear of them. They said: fear not; we have been sent to Loot’s people. And his wife was standing by, so she wondered. Then We gave her the good news of Ishaq, and beyond Ishaq of Yaqoob. She said: O wonder! shall I bear a son when I am extremely old woman, and this my husband an extremely old man? This is a wonderful thing indeed. They said: wonderest thou at Allah’s Command? The Mercy of Allah and His Blessings are on you, 0 people of the House. Surely He is praised, Glorious, so when fear departed from Ibrahim and good news came to him, he began to plead with Us for Loot’s people. Surely Ibrahim was forbearing, tenderhearted, oft-returning (to Allah). 0 Ibrahim, cease from this, surely the decree of thy Lord has gone forth and there must come to them a chastisement that cannot be averted (Hood, 11:69-76).
And when Our Messengers (i.e. the angels) came to Loot, he was grieved for them, and he was unable to protect them, and said: this is a distressful day: And his people came to him (as if) driven on towards him, and they were used to the doing of evil deeds before. He said: 0 my people, these are my daughters—they are purer for you; so guard against (the punishment of) Allah and disgrace me not about my guests. Is there not among you any right-minded man? They said: certainly thou knowest that we have no claim on thy daughters, and thou knowest what we desire. He said: would that I had the power to repel you! rather I shall have recourse to a strong support.
They (the angels) said: O Loot, we are the Messengers of thy Lord. They (i.e. the peoples) shall not reach thee. So travel with thy people for a part of the night and let none of you turn back except thy wife. Surely whatsoever befalls them shall befall her. Surely their appointed time is the morning. Is not the Morning near? (Hood, 11:77-81).
So when Our decree came to pass, We turned them upside down, and rained on them stones, as decreed, one after another, marked (for punishment) with thy Lord (Hood, 11:82-83).
Quran tells us that Loot had warned them of the violent seizure, but they disputed the warning (54:36). They treated the warning as a lie (Qamar, 54:33).