Sahih Muslim , Book 47, Hadith 20 (In-Book) ⓘ
Abu Huraira reported Allah's Messenger having said: The time would draw close to the Last Hour and knowledge would decrease. The rest of the hadith is the same.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَبْدُ الأَعْلَى، عَنْ مَعْمَرٍ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " يَتَقَارَبُ الزَّمَانُ وَيَنْقُصُ الْعِلْمُ " . ثُمَّ ذَكَرَ مِثْلَ حَدِيثِهِمَا .
also referenced under: Hadith 157 (Reference) & Book 34, Hadith 6460 (USC-MSA)