Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:347Abū Bakr b. Abū Shaybah > Abū Muʿāwiyah And Wakīʿ > al-Aʿmash > Mujāhid > Ṭāwus > Ibn ʿAbbās

"The Messenger of Allah passed by two new graves, and he said: 'They are being punished, but they are not being punished for anything major. One of them was heedless about preventing urine from getting on his clothes, and the other used to walk about spreading malicious gossip.'"  

ابن ماجة:٣٤٧حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا أَبُو مُعَاوِيَةَ وَوَكِيعٌ عَنِ الأَعْمَشِ عَنْ مُجَاهِدٍ عَنْ طَاوُسٍ عَنِ ابْنِ عَبَّاسٍ قَالَ

مَرَّ رَسُولُ اللَّهِ ﷺ بِقَبْرَيْنِ جَدِيدَيْنِ فَقَالَ إِنَّهُمَا لَيُعَذَّبَانِ وَمَا يُعَذَّبَانِ فِي كَبِيرٍ أَمَّا أَحَدُهُمَا فَكَانَ لاَ يَسْتَنْزِهُ مِنْ بَوْلِهِ وَأَمَّا الآخَرُ فَكَانَ يَمْشِي بِالنَّمِيمَةِ  


See similar narrations below:

Collected by Tirmidhī, Ibn Mājah, Suyūṭī
tirmidhi:70Hannād And Qutaybah Waʾabū Kurayb > Wakīʿ > al-Aʿmash > Mujāhid > Ṭāwus > Ibn ʿAbbās

"The Prophet passed by two graves. He said: 'These two are being punished. And they are not being punished for something major. As for this one, he would not protect himself from his urine. As for this one, he used to spread Namimah (slander).'"  

الترمذي:٧٠حَدَّثَنَا هَنَّادٌ وَقُتَيْبَةُ وَأَبُو كُرَيْبٍ قَالُوا حَدَّثَنَا وَكِيعٌ عَنِ الأَعْمَشِ قَالَ سَمِعْتُ مُجَاهِدًا يُحَدِّثُ عَنْ طَاوُسٍ عَنِ ابْنِ عَبَّاسٍ

أَنَّ النَّبِيَّ ﷺ مَرَّ عَلَى قَبْرَيْنِ فَقَالَ إِنَّهُمَا يُعَذَّبَانِ وَمَا يُعَذَّبَانِ فِي كَبِيرٍ أَمَّا هَذَا فَكَانَ لاَ يَسْتَتِرُ مِنْ بَوْلِهِ وَأَمَّا هَذَا فَكَانَ يَمْشِي بِالنَّمِيمَةِ  

قَالَ أَبُو عِيسَى وَفِي الْبَابِ عَنْ أَبِي هُرَيْرَةَ وَأَبِي مُوسَى وَعَبْدِ الرَّحْمَنِ ابْنِ حَسَنَةَ وَزَيْدِ بْنِ ثَابِتٍ وَأَبِي بَكْرَةَ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ وَرَوَى مَنْصُورٌ هَذَا الْحَدِيثَ عَنْ مُجَاهِدٍ عَنِ ابْنِ عَبَّاسٍ وَلَمْ يَذْكُرْ فِيهِ عَنْ طَاوُسٍ وَرِوَايَةُ الأَعْمَشِ أَصَحُّ قَالَ وَسَمِعْتُ أَبَا بَكْرٍ مُحَمَّدَ بْنَ أَبَانَ الْبَلْخِيَّ مُسْتَمْلِي وَكِيعٍ يَقُولُ سَمِعْتُ وَكِيعًا يَقُولُ الأَعْمَشُ أَحْفَظُ لإِسْنَادِ إِبْرَاهِيمَ مِنْ مَنْصُورٍ
ibnmajah:349Abū Bakr b. Abū Shaybah > Wakīʿ > al-Aswad b. Shaybān > Baḥr b. Marrār from his grandfather Abū Bakrah

"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.'"  

ابن ماجة:٣٤٩حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا وَكِيعٌ حَدَّثَنَا الأَسْوَدُ بْنُ شَيْبَانَ حَدَّثَنِي بَحْرُ بْنُ مَرَّارٍ عَنْ جَدِّهِ أَبِي بَكْرَةَ قَالَ

مَرَّ النَّبِيُّ ﷺ بِقَبْرَيْنِ فَقَالَ إِنَّهُمَا لَيُعَذَّبَانِ وَمَا يُعَذَّبَانِ فِي كَبِيرٍ أَمَّا أَحَدُهُمَا فَيُعَذَّبُ فِي الْبَوْلِ وَأَمَّا الآخَرُ فَيُعَذَّبُ فِي الْغِيبَةِ  

suyuti:4-2126bʿAbdullāh b. Muḥammad b. ʿMr b. ʿAl from his father from his grandfather > ʿAlī b. Abiá Ṭālib > Mar al-Nabi ﷺ Biqabrayn Yuʿdhhabān
Request/Fix translation

  

السيوطي:٤-٢١٢٦b

"عَنْ عَبْدِ الله بْن مُحَمَّدِ بْنِ عمر بْن عَلىٍّ عَنْ أَبِيهِ عَنْ جَدِّهِ عَنْ عَلِيِّ بْنِ أَبِى طَالِبٍ قَالَ: مَرَّ النَّبِىُّ ﷺ بِقَبْرَيْنِ يُعذَّبَانِ، فقال: إِنَّهُما يعَذَّبَانِ، وما يُعذَّبَانِ فِي كبِيرٍ، أَمَّا أَحَدُهُمَا فَكَانَ لَا يَتَنزَّهُ مِنْ بَوْلِهِ، وَأَمَّا الآخَرُ فَكَانَ يَمْشِى بِالنَّمِيمَةِ".  

[كر] ابن عساكر في تاريخه