Ibn `Umar (May Allah be pleased with them) reported:
When the Messenger of Allah (ﷺ) and his Companions reached Al-Hijr, the dwellings of the Thamud people, he admonished his Companions (saying), "Do not pass by these people who are being tormented, without weeping, lest the punishment should befall you as it had befallen them."[Al-Bukhari and Muslim].
App reference: Book 7, Hadith 61
Arabic/English book reference: Book 7, Hadith 955