Sahih al-Bukhari, Book 64, Hadith 442 (Bukhari 4226)
Narrated Ibn `Umar:
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..."