Allah's Messenger (ﷺ) said to his companions who were at Al-Hijr, "Do not enter upon these people who are being punished, except in a weeping state, lest the same calamity as of theirs should befall you..."
Sahih al-Bukhari Book 64, Hadith 442