It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Prophet of Allah (peace and blessings be upon him) said: "Trials will appear and 'harj' will become widespread." We said: "O Messenger of Allah (peace and blessings be upon him), what is harj?" He (peace and blessings be upon him) said: "Killing and bloodshed, killing and bloodshed; and knowledge will be taken away (from the world)." The narrator said: Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) heard this while he (Sayyiduna Abu Hurayrah (may Allah be pleased with him)) was narrating it from the Prophet of Allah (peace and blessings be upon him), and he said: "Know that the taking away of knowledge is not something that will be pulled out of the breasts of men; rather it will (happen) through the death of the scholars."
I say: Apart from the account about knowledge, this hadith is in the Sahih.
And Imam Ahmad bin Hanbal (may Allah have mercy on him) mentioned it likewise in his Musnad, through Waki' (may Allah have mercy on him) from Ja'far bin Burqan (may Allah have mercy on him).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب العلم / 392
Hadith Gradingمحدثین:إسناده صحيح، وقصة تفسير قبض العلم موقوفة على عمر بن الخطاب