The Book of Knowledge (Kitab Al-`Ilm)
Muslim :: Book 34 : Hadith 6460
Abu Huraira reported Allah's Messenger (may peace be upon him) having said: The time would draw close to the Last Hour and knowledge would decrease. The rest of the hadith is the same.