حَدَّثَنَا مُؤَمَّلُ بْنُ الْفَضْلِ الْحَرَّانِيُّ، حَدَّثَنَا الْوَلِيدُ، ح وَحَدَّثَنَا مَحْمُودُ بْنُ خَالِدٍ، حَدَّثَنَا أَبُو مُسْهِرٍ، ح وَحَدَّثَنَا ابْنُ السَّرْحِ، حَدَّثَنَا بِشْرُ بْنُ بَكْرٍ، ح وَحَدَّثَنَا مُحَمَّدُ بْنُ مُصْعَبٍ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، كُلُّهُمْ عَنْ سَعِيدِ بْنِ عَبْدِ الْعَزِيزِ، عَنْ عَطِيَّةَ بْنِ قَيْسٍ، عَنْ قَزَعَةَ بْنِ يَحْيَى، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَيَقُولُ حِينَ يَقُولُ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ ‏"‏ اللَّهُمَّ رَبَّنَا لَكَ الْحَمْدُ مِلْءَ السَّمَاءِ ‏"‏ ‏.‏ قَالَ مُؤَمَّلٌ مِلْءَ السَّمَوَاتِ وَمِلْءَ الأَرْضِ وَمِلْءَ مَا شِئْتَ مِنْ شَىْءٍ بَعْدُ أَهْلَ الثَّنَاءِ وَالْمَجْدِ أَحَقُّ مَا قَالَ الْعَبْدُ وَكُلُّنَا لَكَ عَبْدٌ لاَ مَانِعَ لِمَا أَعْطَيْتَ ‏"‏ ‏.‏ زَادَ مَحْمُودٌ ‏"‏ وَلاَ مُعْطِيَ لِمَا مَنَعْتَ ‏"‏ ‏.‏ ثُمَّ اتَّفَقُوا - ‏"‏ وَلاَ يَنْفَعُ ذَا الْجَدِّ مِنْكَ الْجَدُّ ‏"‏ ‏.‏ قَالَ بِشْرٌ ‏"‏ رَبَّنَا لَكَ الْحَمْدُ ‏"‏ ‏.‏ لَمْ يَقُلْ مَحْمُودٌ ‏"‏ اللَّهُمَّ ‏"‏ ‏.‏ قَالَ ‏"‏ رَبَّنَا وَلَكَ الْحَمْدُ
Translation
Abu sa’id al-Khuri said

When the Messenger of Allah (ﷺ) said: "Allah listens to him who praises Him," he would say: "O Allah, our Lord, to Thee be the praise, filling the heaven." Mu'ammil said: "Filling the heavens and the earth, and filling whatever else You will thereafter. O Possessor of praise and majesty, the most deserving of what a servant says—and all of us are Your servants—there is none who can withhold what You have given." Mahmud added: "And none can give what You have withheld." Then they agreed: "And no wealthy person's wealth can avail him against You." Bishr said: "Our Lord, to You be the praise." Mahmud did not say "O Allah," but said: "Our Lord, and to You be the praise."