Abdullah bin Abbas reported,

The Messenger of Allah ﷺ passed by two graves and said, "These two are being punished, and they are not being punished for something major. As for this one, he did not guard himself from his urine. As for this one, he used to walk about spreading slander."Then he called for a fresh palm branch, split it in two, and planted one on this grave and one on that grave. Then he said, "Perhaps their punishment will be lightened as long as these do not dry out."Mansur differed with him. He narrated it from Mujahid from Ibn Abbas without mentioning Tawsa.

Nasai 31

Sahih

أخبرنا هناد بن السري عن وكيع عن الأعمش قال سمعت مجاهدا يحدث عن طاوس

عن ابن عباس قال

مر رسول الله ﷺ على قبرين فقال إنهما يعذبان وما يعذبان في كبير أما هذا فكان لا يستنزه من بوله وأما هذا فإنه كان يمشي بالنميمة ثم دعا بعسيب رطب فشقه باثنين فغرس على هذا واحدا وعلى هذا واحدا ثم قال لعله يخفف عنهما ما لم ييبسا خالفه منصور رواه عن مجاهد عن ابن عباس ولم يذكر طاوسا

النسائي 31صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Purification
Chapter
Avoiding urine
Numbering
Darussalam 31
Nasai 31