The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness
Ṣaḥīḥ Muslim 6809
لِلَّهِ تِسْعَةٌ وَتِسْعُونَ اسْمًا مَنْ حَفِظَهَا دَخَلَ الْجَنَّةَ وَإِنَّ اللَّهَ وِتْرٌ يُحِبُّ الْوِتْرَ
lillāh tisʿatun watisʿūna āsman man ḥafiẓahā dakhala al-jannaha wa-inna-Llāh witrun yuḥibbu al-witra
Transliteration generated from the Arabic vowel marks
The full narration
Abu Huraira reported Allah's Messenger (ﷺ) as saying:There are ninety-nine names of Allah; he who commits them to memory would get into Paradise. Verily, Allah is Odd (He is one, and it is an odd number) and He loves odd number. And in the narration of Ibn 'Umar (the words are):" He who enumerated them
Source
Ṣaḥīḥ Muslim · 6809
Ṣaḥīḥ