(17) بَابُ قَوْلِ اللَّهِ تَعَالَى: {وَإِلَى ثَمُودَ أَخَاهُمْ صَالِحًا}
Narrated Ibn `Umar:
Allah's Messenger (ﷺ) said, "Do not enter the ruined dwellings of those who were unjust to themselves unless (you enter) weeping, lest you should suffer the same punishment as was inflicted upon them."
Reference: Sahih al-Bukhari 3381
In-book reference: Book 60, Hadith 25
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 55, Hadith 564