كتاب الإيمان
1  
The Book of Faith
(65)
Chapter: Clarifying that Islam started as something strange, and will revert to being something strange, and it will retreat between the two Masajid
(65)
باب بَيَانِ أَنَّ الْإِسْلَامَ بَدَأَ غَرِيبًا وَسَيَعُودُ غَرِيبًا وَأَنَّهُ يَأْرِزُ بَيْنَ الْمَسْجِدَيْنِ
Sahih Muslim 144 c

It is transmitted by Rib'i b. Hirash. who narrated it on the authority of Hudhaifa that verily 'Umar said:

Who would narrate to us or who amongst you would narrate to us (and Hudhaifa was one amongst them) what the Messenger of Allah (ﷺ) had said about the turmoil? Hudhaifa said: I will, and recited the hadith like that transmitted by Abu Malik on the authority of Rib'i and he observed in connection with this hadith that Hudhaifa remarked: I am narrating to you a hadith and it has no mistake, and said: That it is transmitted from he Messenger of Allah (ﷺ).
وَحَدَّثَنِي مُحَمَّدُ بْنُ الْمُثَنَّى، وَعَمْرُو بْنُ عَلِيٍّ، وَعُقْبَةُ بْنُ مُكْرَمٍ الْعَمِّيُّ، قَالُوا حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي عَدِيٍّ، عَنْ سُلَيْمَانَ التَّيْمِيِّ، عَنْ نُعَيْمِ بْنِ أَبِي هِنْدٍ، عَنْ رِبْعِيِّ بْنِ حِرَاشٍ، عَنْ حُذَيْفَةَ، أَنَّ عُمَرَ، قَالَ مَنْ يُحَدِّثُنَا أَوْ قَالَ أَيُّكُمْ يُحَدِّثُنَا - وَفِيهِمْ حُذَيْفَةُ - مَا قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم فِي الْفِتْنَةِ قَالَ حُذَيْفَةُ أَنَا ‏.‏ وَسَاقَ الْحَدِيثَ كَنَحْوِ حَدِيثِ أَبِي مَالِكٍ عَنْ رِبْعِيٍّ وَقَالَ فِي الْحَدِيثِ قَالَ حُذَيْفَةُ حَدَّثْتُهُ حَدِيثًا لَيْسَ بِالأَغَالِيطِ وَقَالَ يَعْنِي أَنَّهُ عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏
Reference : Sahih Muslim 144c
In-book reference : Book 1, Hadith 278
USC-MSA web (English) reference : Book 1, Hadith 269
  (deprecated numbering scheme)