The Messenger of Allah ﷺ passed a grave dug freshly. They arranged a row and uttered four takbirs over it. I asked al-Sha'bi: Who told you ? He replied: A reliable person whom 'Abd Allah b. 'Abbas attended.
أَنَّ رَسُولَ اللَّهِ ﷺ مَرَّ بِقَبْرٍ رَطْبٍ فَصَفُّوا عَلَيْهِ وَكَبَّرَ عَلَيْهِ أَرْبَعًا فَقُلْتُ لِلشَّعْبِيِّ مَنْ حَدَّثَكَ قَالَ الثِّقَةُ مَنْ شَهِدَهُ عَبْدُ اللَّهِ بْنُ عَبَّاسٍ