I heard the Messenger of Allah ﷺ say, "Allah does not take away knowledge by snatching it from people, but rather He takes away knowledge by taking the lives of the scholars, until, when no scholar remains, people take ignorant ones as their leaders. They are asked, and they give rulings without knowledge, so they go astray and lead others astray."
حدثنا قتيبة بن سعيد حدثنا جرير عن هشام بن عروة عن أبيه سمعت
ا سمعت رسول الله ﷺ يقول إن الله لا يقبض العلم انتزاعا ينتزعه من الناس ولكن يقبض العلم بقبض العلماء حتى إذا لم يترك عالما اتخذ الناس رءوسا جهالا فسئلوا فأفتوا بغير علم فضلوا وأضلوا