Sure Al-A'raaf

7:80

وَلُوطًا إِذْ قَالَ لِقَوْمِهِۦٓ أَتَأْتُونَ ٱلْفَٰحِشَةَ مَا سَبَقَكُم بِهَا مِنْ أَحَدٍۢ مِّنَ ٱلْعَٰلَمِينَ

Und (Wir sandten) Lut, als er zu seinem Volk sagte: "Wollt ihr denn das Abscheuliche begehen, wie es vor euch niemand von den Weltenbewohnern begangen hat?

Tafsir 7:80

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!'