Abdullah ibn Amr reported: The Messenger of Allah, peace and blessings be upon him, said, “Verily, Allah does not withhold knowledge by snatching it away from his servants, but rather he withholds knowledge by taking the souls of scholars, until no scholar remains and people follow ignorant leaders. They are asked and they issue judgments without knowledge. Thus, they are astray and lead others astray.”
Source: Ṣaḥīḥ al-Bukhārī 100, Ṣaḥīḥ Muslim 2673
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ عَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّ اللَّهَ لَا يَقْبِضُ الْعِلْمَ انْتِزَاعًا يَنْتَزِعُهُ مِنْ الْعِبَادِ وَلَكِنْ يَقْبِضُ الْعِلْمَ بِقَبْضِ الْعُلَمَاءِ حَتَّى إِذَا لَمْ يُبْقِ عَالِمًا اتَّخَذَ النَّاسُ رُءُوسًا جُهَّالًا فَسُئِلُوا فَأَفْتَوْا بِغَيْرِ عِلْمٍ فَضَلُّوا وَأَضَلُّوا
100 صحيح البخاري كتاب العلم باب كيف يقبض العلم
2673 صحيح مسلم كتاب العلم باب رفع العلم وقبضه وظهور الجهل والفتن في آخر الزمان