I was sitting with the Messenger of Allah ﷺ while a man was praying. Then the man supplicated, "O Allah, I ask You by virtue of the fact that to You belongs all praise, there is no god but You, the Bestower, the Originator of the heavens and the earth, Possessor of Majesty and Honor, Ever-Living, Sustainer of all."The Prophet ﷺ said, "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 by it He gives."
كنت مع رسول الله ﷺ جالسا ورجل يصلي، ثم دعا: اللهم إني أسألك بأن لك الحمد، لا إله إلا أنت المنان، بديع السماوات والأرض، يا ذا الجلال والإكرام، يا حي يا قيوم، فقال النبي ﷺ: لقد دعا الله باسمه العظيم الذي إذا دعي به أجاب، وإذا سئل به أعطى.
Reported by Abu Dawud (1495) and Nasai (1300), and Ibn Hibban (893) and Hakim (1/503–504) graded it sahih, all of them through the route of Khalaf bin Khalifa, from Hafs the nephew of Anas, from Anas bin Malik, who mentioned it.In the version of Ibn Hibban and Hakim, it reads, "Then when he bowed, prostrated, and recited the tashahhud, he supplicated..."Its chain of transmission is hasan because of Khalaf bin Khalifa. Although he is among the narrators of Muslim, he did become confused in his later years, but he is corroborated, as is explained in the Book of Prayer.