Abdullah bin Umar reported,

The Messenger of Allah ﷺ told them that a servant from among the servants of Allah once said, "My Lord, all praise belongs to You, as befits the majesty of Your face and the greatness of Your sovereignty." This stumped the two angels, and they did not know how to record it. So they ascended to heaven and said, "Our Lord, Your servant has spoken words that we do not know how to write down."Allah عز وجل said, though He knew best what His servant had said, "What did My servant say?"They replied, "Our Lord, he said, 'My Lord, all praise belongs to You, as befits the majesty of Your face and the greatness of Your sovereignty.'"Allah عز وجل said to them, "Write it down just as My servant said it, until he meets Me, and I shall reward him for it."

Ibn Majah 3801

Daif

حدثنا إبراهيم بن المنذر الحزامي حدثنا صدقة بن بشير مولى العمريين قال سمعت قدامة بن إبراهيم الجمحي يحدث أنه كان يختلف إلى عبد الله بن عمر بن الخطاب وهو غلام وعليه ثوبان معصفران قال

فحدثنا عبد الله بن عمر

أن رسول الله ﷺ حدثهم أن عبدا من عباد الله قال يا رب لك الحمد كما ينبغي لجلال وجهك ولعظيم سلطانك فعضلت بالملكين فلم يدريا كيف يكتبانها فصعدا إلى السماء وقالا يا ربنا إن عبدك قد قال مقالة لا ندري كيف نكتبها قال الله عز وجل وهو أعلم بما قال عبده ماذا قال عبدي قالا يا رب إنه قال يا رب لك الحمد كما ينبغي لجلال وجهك وعظيم سلطانك فقال الله عز وجل لهما اكتباها كما قال عبدي حتى يلقاني فأجزيه بها

ابن ماجه 3801ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Manners
Chapter
Virtue of those who praise Allah
Numbering
Darussalam 3801
Ibn Majah 3801