Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:15:79

So We took retribution from them, and indeed, both ˹cities˺ are on a clear highway.  

So We exacted retribution from them, by destroying them through extreme heat. And certainly both of them, that is, the cities of the people of Lot and those of ˹the dwellers in˺ the wood, are upon a open road, plain ˹to see˺: so will you not take heed from their example, O people of Mecca?
القرآن:١٥:٧٩

فَانْتَقَمْنَا مِنْهُمْ وَإِنَّهُمَا لَبِإِمَامٍ مُبِينٍ  

{فانتقمنا منهم} بأن أهلكناهم بشدة الحر {وإنهما} أي قرى قوم لوط والأيكة {لبإمام} طريق {مبين} واضح أفلا تعتبرون بهم يا أهل مكة.