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.