Sahih Bukhari Volume 009, Book 092, Hadith Number 410.
Hadith Section/Book: Sahih Bukhari Sahih Bukhari Book 92. Holding Fast to the Qur'an and Sunnah
Narrated By 'Abdullah bin 'Amr : I heard the Prophet saying, "Allah will not deprive you of knowledge after he has given it to you, but it will be taken away through the death of the religious learned men with their knowledge. Then there will remain ignorant people who, when consulted, will give verdicts according to their opinions whereby they will mislead others and go astray."