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 [i.e., peoples]?
Allah sent Lot to his people to call them to belief in the Oneness of Allah and to stop them from rebelling against Him. He said: 'Do you commit such a forbidden and shameful act as sodomy, when no one before you has committed such a crime!'