Abdullah bin Abbas reported,

The Prophet ﷺ passed by one of the walled gardens of Madinah and heard the voices of two people being punished in their graves. He said, "They are being punished, and they are not being punished for something major, though indeed it is major. One of them did not shield himself from urine, and the other used to walk about spreading malicious gossip."Then he called for a green palm branch, broke it into two pieces, placed one piece on this grave and the other on that grave, and said, "Perhaps their punishment will be lightened so long as these do not dry out."

Bukhari 6055

Sahih

حدثنا ابن سلام أخبرنا عبيدة بن حميد أبو عبد الرحمن عن منصور عن مجاهد

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

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

البخاري 6055صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Manners
Chapter
Talebearing is among the major sins
Numbering
Darussalam 6055
Bukhari 6055