(5) باب رَفْعِ الْعِلْمِ وَقَبْضِهِ وَظُهُورِ الْجَهْلِ وَالْفِتَنِ فِي آخِرِ الزَّمَانِ
'Abdullah b. 'Amr b. al-'As reported Allah's Messenger (ﷺ) as saying:
Verily, Allah does not take away knowledge by snatching it from the people but He takes away knowledge by taking away the scholars, so that when He leaves no learned person, people turn to the ignorant as their leaders; then they are asked to deliver religious verdicts and they deliver them without knowledge, they go astray, and lead others astray.
Reference: Sahih Muslim 2673 a
In-book reference: Book 47, Hadith 22
USC-MSA web (English) reference(deprecated numbering scheme): Book 34, Hadith 6462