Abdullah ibn Abbas reports that the Messenger of Allah ﷺ passed two graves and stated that their occupants were being punished. (Sahih al-Bukhari, Books of Ablution and Funerals)
One person neglected due care regarding urine, while the other practiced talebearing.
The report establishes the occurrence of grave punishment and the seriousness of conduct that can make a person liable to it.