Sahih al-Bukhari 100
Book 3: Knowledge · Hadith 42
Hadith text
Narrated `Abdullah bin `Amr bin Al-`As:I heard Allah's Messenger (ﷺ) saying, "Allah does not take away the knowledge, by taking it away from (the hearts of) the people, but takes it away by the death of the religious learned men till when none of the (religious learned men) remains, people will take as their leaders ignorant persons who when consulted will give their verdict without knowledge. So they will go astray and will lead the people astray
Abdullah bin Amr bin Al-Aas (رضی اللہ عنہما) se riwayat hai ke maine Allah ke Rasool (ﷺ) ko farmate suna: "Allah ilm ko (achanak) logon ke dilon se nahi chheenta, balki ulama ke intiqal se ilm khatam hota hai, yahan tak ke jab koi aalim baaqi nahi rahega, log jahil logon ko apna rahnuma bana lenge, jo bina ilm ke fatwa denge — woh khud gumraah honge aur logon ko bhi gumraah karenge."
Sahih al-Bukhari 100 · Book 3, Hadith 42