It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with him): We were with the Messenger of Allah (peace and blessings be upon him) on a journey when he (peace and blessings be upon him) passed by two graves whose occupants were being punished. He (peace and blessings be upon him) said: "These two are not being punished for something that was heavy or difficult (for them to avoid)." Then he said: "Yes indeed (the sins were great): one of them used to backbite people, and the other did not take care (to avoid splashes) of his urine." Then he (peace and blessings be upon him) took one or two fresh date-palm stalks, broke them, and planted a piece on each grave, and said: "As long as these stalks remain fresh, or he said: as long as they do not dry up, their punishment will be lightened."
I say: Imam Ibn Ma'in (may Allah have mercy on him) declared Abu al-Awwam thiqah (trustworthy), so this hadith is hasan sahih.
Imam al-Bukhari (may Allah have mercy on him) gave this hadith the chapter heading: "Bab min al-kaba'ir alla yastatira min bawlihi" (Not screening oneself / taking care against one's urine is among the major sins).
Imam al-Khattabi (may Allah have mercy on him) said: The meaning of "they are not being punished for something great" is that they are being punished for a matter that was burdensome for them, or that would have been difficult for them to act upon had they wished to do so, namely keeping clean from urine or abandoning tale-bearing. He (peace and blessings be upon him) certainly did not mean that these two traits are not a great sin with respect to religion, or that the offence in them is minor and light.
Hafiz al-Mundhiri (may Allah have mercy on him) said: It is out of fear of this kind of misunderstanding that he (peace and blessings be upon him) corrected himself and said: "Yes indeed, it is great." And Allah knows best.
This hadith has several supporting reports (shawahid), one of them being the hadith of Sayyiduna Ibn Abbas (may Allah be pleased with them both), which is in the two Sahihs and other books of hadith. Imam Ahmad bin Hanbal (may Allah have mercy on him) and Imam Ibn Majah (may Allah have mercy on him) also recorded it from the narration of Sayyiduna Abu Umamah (may Allah be pleased with him), Imam Ibn Hibban (may Allah have mercy on him) in his Sahih from the narration of Sayyiduna Abu Hurayrah (may Allah be pleased with him), and Imam al-Daraqutni (may Allah have mercy on him) in his Sunan from the narration of Sayyiduna Anas (may Allah be pleased with him).