Urwa reported,

Abdullah bin Amr came to us on pilgrimage, and I heard him say, "I heard the Prophet ﷺ say, 'Allah does not take knowledge away by snatching it from people after He has given it to them. Rather, He removes it by taking the souls of the scholars along with their knowledge, leaving behind ignorant people who, when consulted, give legal opinions based on their own opinions. They go astray and lead others astray.'"I related this to Ayesha, the wife of the Prophet ﷺ. Then, when Abdullah bin Amr came on pilgrimage again, she said, "Nephew, go to Abdullah and verify for me what you reported to me from him."So I went to him and asked him, and he related it to me just as he had related it before. I came back to Ayesha and informed her, and she was amazed and said, "By Allah, Abdullah bin Amr has indeed memorized it well."

Bukhari 7307

Sahih

حدثنا سعيد بن تليد حدثني ابن وهب حدثني عبد الرحمن بن شريح وغيره عن أبي الأسود

عن عروة قال

حج علينا عبد الله بن عمرو فسمعته يقول سمعت النبي ﷺ يقول إن الله لا ينزع العلم بعد أن أعطاكموه انتزاعا ولكن ينتزعه منهم مع قبض العلماء بعلمهم فيبقى ناس جهال يستفتون فيفتون برأيهم فيضلون ويضلون فحدثت به عائشة زوج النبي ﷺ ثم إن عبد الله بن عمرو حج بعد فقالت يا ابن أختي انطلق إلى عبد الله فاستثبت لي منه الذي حدثتني عنه فجئته فسألته فحدثني به كنحو ما حدثني فأتيت عائشة فأخبرتها فعجبت فقالت والله لقد حفظ عبد الله بن عمرو

البخاري 7307صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhering to the Book and the Sunnah
Chapter
Censure of personal opinion and straining to make analogical reasoning
Numbering
Darussalam 7307
Bukhari 7307