Anas bin Malik reported,

I was sitting with the Messenger of Allah ﷺ in the circle, and a man was standing in prayer. When he had completed his bowing and prostration, he sat and recited the testimony of faith, then made this supplication, "O Allah, I ask You, for to You belongs all praise, there is no god but You, the Most Compassionate, Originator of the heavens and the earth, Possessor of Majesty and Honor. O Ever-Living, O Sustainer, I ask You."The Messenger of Allah ﷺ said, "Do you know what he supplicated with?"They replied, "Allah and His Messenger know best."He said, "By the One in whose hand my soul rests, he has called upon Allah by His Greatest Name, the name by which when He is called upon, He answers, and when He is asked, He gives."Affan said, "He supplicated by His name."

Ahmad 12611

Sahih

حدثنا حسين بن محمد وعفان قالا حدثنا خلف بن خليفة حدثنا حفص بن عمر

عن أنس قال

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

أحمد 12611صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 12611
Ahmad 12611