'Abdullah bin 'Amr bin Al-'As (May Allah be pleased with them) reported:
I heard the Messenger of Allah (ﷺ) saying: "Verily, Allah does not take away knowledge by snatching it from the people, but He takes it away by taking away (the lives of) the religious scholars till none of the scholars stays alive. Then the people will take ignorant ones as their leaders, who, when asked to deliver religious verdicts, will issue them without knowledge, the result being that they will go astray and will lead others astray."[Al- Bukhari and Muslim].
App reference: Book 13, Hadith 17
Arabic/English book reference: Book 13, Hadith 1392