Sahih al-Bukhari #4420
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) 64:442
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..."