The Messenger of Allah ﷺ used to say, when he said "Allah hears whoever praises Him," "O Allah, our Lord, to You belongs all praise, filling the heavens" — Muammal said, "filling the heavens" — "and filling the earth, and filling whatever else You will. Worthy of praise and glory, the truest thing a servant has said, and all of us are Your servants. None can withhold what You have given," — Mahmud added, "and none can give what You have withheld" — then they all agreed on, "and no possessor of fortune can benefit from his fortune against You."Bishr said, "Our Lord, to You belongs praise," and did not say "O Allah." Mahmud did not say "O Allah," but said, "Our Lord, and to You belongs praise."
حدثنا مؤمل بن الفضل الحراني حدثنا الوليد ح و حدثنا محمود بن خالد حدثنا أبو مسهر ح و حدثنا ابن السرح حدثنا بشر بن بكر ح و حدثنا محمد بن مصعب حدثنا عبد الله بن يوسف كلهم عن سعيد بن عبد العزيز عن عطية بن قيس عن قزعة بن يحيى
أن رسول الله ﷺ كان يقول حين يقول سمع الله لمن حمده اللهم ربنا لك الحمد ملء السماء قال مؤمل ملء السموات وملء الأرض وملء ما شئت من شيء بعد أهل الثناء والمجد أحق ما قال العبد وكلنا لك عبد لا مانع لما أعطيت زاد محمود ولا معطي لما منعت ثم اتفقوا ولا ينفع ذا الجد منك الجد وقال بشر ربنا لك الحمد لم يقل اللهم لم يقل محمود اللهم قال ربنا ولك الحمد
Muslim narrated it in the Book of Prayer, Chapter on What to Say When Raising One's Head from Ruku, hadith no. 477, from the hadith of Saeed bin Abdul-Aziz through this same chain.