TABARANI 5346:
from Jābir b. ʿAbdullāh —
[Machine] When Saad bin Muadh was buried, and we were with the Messenger of Allah, ﷺ , he began to say "Subhan Allah" and the people said it along with him for a long time. Then he said "Allahu Akbar" and the people said it along with him. They said, "O Messenger of Allah, why did you say 'Subhan Allah'?" He said, "Indeed, the grave of this righteous man was constricted, so Allah relieved him with His mercy."
الطبراني ٥٣٤٦:
عن جابر بن عبد الله —
لَمَّا دُفِنَ سَعْدُ بْنُ مُعَاذٍ وَنَحْنُ مَعَ رَسُولِ اللهِ ﷺ سَبَّحَ فَسَبَّحَ النَّاسُ مَعَهُ طَوِيلًا ثُمَّ كَبَّرَ فَكَبَّرَ النَّاسُ مَعَهُ فَقَالُوا يَا رَسُولَ اللهِ مِمَّ سَبَّحْتَ؟ قَالَ «لَقَدْ تَضَايَقَ عَلَى هَذَا الرَّجُلِ الصَّالِحِ قَبْرُهُ حَتَّى فَرَّجَهُ اللهُ بِرَحْمَتِهِ»
hadithunlocked.com