The Prophet ﷺ said, "Allah has ninety-nine names. Whoever enumerates them will enter Paradise."
حدثنا ابن أبي عمر حدثنا سفيان بن عيينة عن أبي الزناد عن الأعرج
عن النبي ﷺ قال إن لله تسعة وتسعين اسما من أحصاها دخل الجنة
Bukhari also narrated it in the Book of Conditions, Chapter on What Is Permissible in Stipulations and Exceptions in Acknowledgment, etc., hadith 2736, from Abu Yaman, and hadith 6410, and Muslim, hadith 2677, from the hadith of Sufyan bin Uyayna, with the same wording.