Buraidah (RAA) narrated, 'The Messenger of Allah (ﷺ) heard a man saying:
'O Allah! I ask you by virtue that I testify that you are Allah; there is no God but You, the one —· the Self Sufficient Master, Who did not beget, and was not begotten, and to whom no one is equal.' Allah's Messenger (ﷺ) then said, "He has asked Allah by His Name by which when asked, He gives, and by which when supplicated, He answers." Related by the four Imams and Ibn Hibban graded it as Sahih.
English reference: Book 16, Hadith 1603
Arabic reference: Book 16, Hadith 1560