كتاب الذكر والدعاء والتوبة والاستغفار
48  
The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness
(2)
Chapter: The Names Of Allah, Exalted is He, And The Virtue Of The One Who Learns Them By Heart
(2)
باب فِي أَسْمَاءِ اللَّهِ تَعَالَى وَفَضْلِ مَنْ أَحْصَاهَا
Sahih Muslim 2677 b

Abu Huraira reported Allah's Apostle (ﷺ) as saying:

Verily, there are ninety-nine names for Allah, i. e. hundred excepting one. He who enumerates them would get into Paradise. And Hammam has made this addition on the authority of Abu Huraira who reported it from Allah's Apostle (ﷺ) that he said:" He is Odd (one) and loves odd number."
حَدَّثَنِي مُحَمَّدُ بْنُ رَافِعٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، حَدَّثَنَا مَعْمَرٌ، عَنْ أَيُّوبَ، عَنِ ابْنِ سِيرِينَ، عَنْ أَبِي هُرَيْرَةَ، وَعَنْ هَمَّامِ بْنِ مُنَبِّهٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ إِنَّ لِلَّهِ تِسْعَةً وَتِسْعِينَ اسْمًا مِائَةً إِلاَّ وَاحِدًا مَنْ أَحْصَاهَا دَخَلَ الْجَنَّةَ ‏"‏ ‏.‏ وَزَادَ هَمَّامٌ عَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صلى الله عليه وسلم ‏"‏ إِنَّهُ وِتْرٌ يُحِبُّ الْوِتْرَ ‏"‏ ‏.‏
Reference : Sahih Muslim 2677b
In-book reference : Book 48, Hadith 6
USC-MSA web (English) reference : Book 35, Hadith 6476
  (deprecated numbering scheme)