‘Bahr bin Marrar narrated that his grandfather Abu Bakrah said: “The Messenger of Allah passed by two graves, and he said:
‘They are being punished but they are not being punished for anything major.
One of them is being punished because of urine
and the other is being punished because of backbiting
Source
Grade: Sahih (Darussalam)
Sunan Ibn Majah, The Book of Purification and its Sunnah Book 1, Hadith 376
Explanation
(Taken from Islamqa)
The Prophet (peace and blessings of Allaah be upon him) told us about two men whom he saw being punished in their graves. One of them used to walk around spreading malicious gossip among people, and the other failed to take precautions to avoid getting urine on himself. So the latter failed to purify himself as required, and the former did something that creates enmity among people by talking, even if what he says is true.
Thus it may be noted that the one who stirs up enmity by telling lies and making false statements will be punished even more.
Failing to keep oneself clean from urine indicates that the one who neglects prayer, for which cleansing oneself from urine is a requirement and condition will be punished even more. In the hadeeth of Shubah it says:“One of them used to eat the flesh of people,”which refers to backbiting or malicious gossip.