Surah Al-Anbya — Ayah 74 (21:74)
وَلُوطًا ءَاتَيۡنَٰهُ حُكۡمٗا وَعِلۡمٗا وَنَجَّيۡنَٰهُ مِنَ ٱلۡقَرۡيَةِ ٱلَّتِي كَانَت تَّعۡمَلُ ٱلۡخَبَٰٓئِثَۚ إِنَّهُمۡ كَانُواْ قَوۡمَ سَوۡءٖ فَٰسِقِينَ ٧٤
English translation (Saheeh International)
And to Lot We gave judgement and knowledge, and We saved him from the city that was committing wicked deeds. Indeed, they were a people of evil, defiantly disobedient.
Brief commentary
ِAnd to Lot I granted the ability to judge fairly between disputing parties, together with sound knowledge of his religion. I also saved him from the punishment I sent upon the people of his village (Sodom) who were involved in immorality. Indeed, they were corrupt people who deviated from the worship of their Lord.