Juwayria bint Harith reported,

The Messenger of Allah ﷺ passed by her when he had prayed the morning prayer, or just after he had prayed it, and she was engaged in remembrance of Allah. He returned when the day had risen high, or he said when it had reached midday, and she was still doing the same.He said, "I have said four phrases three times since I left you, and they outweigh, or are heavier than, what you have been saying. Glory be to Allah by the number of His creation, glory be to Allah to the satisfaction of Himself, glory be to Allah by the weight of His Throne, glory be to Allah by the ink of His words."

Ibn Majah 3808

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا محمد بن بشر حدثنا مسعر حدثني محمد بن عبد الرحمن عن أبي رشدين عن ابن عباس

عن جويرية قالت

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

ابن ماجه 3808صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Manners
Chapter
Virtue of glorification
Numbering
Darussalam 3808
Ibn Majah 3808