(88) باب عَذَابِ الْقَبْرِ مِنَ الْغِيبَةِ وَالْبَوْلِ
Narrated Ibn `Abbas:
The Prophet (ﷺ) once passed by two graves and said, "They (the deceased persons in those graves) are being tortured not for a great thing to avoid." And then added, "Yes, (they are being punished for a big sin), for one of them used to go about with calumnies while the other never saved himself from being soiled with his urine." (Ibn `Abbas added): Then he took a green leaf of a date-palm) and split it into two pieces and fixed one piece on each grave and said, "May their punishment be abated till these (two pieces) get dry."
Reference: Sahih al-Bukhari 1378
In-book reference: Book 23, Hadith 131
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 23, Hadith 460