وعن أنس رضي الله عنه قال : كان رسول الله صلى الله عليه وآله وسلم يقول : « اللهم انفعني بما علمتني وعلمني ما ينفعني وارزقني علما ينفعني ». رواه النسائي والحاكم. وللترمذي من حديث أبي هريرة نحوه وقال في آخره : « وزدني علما الحمد لله على كل حال وأعوذ بالله من حال أهل النار » وإسناده حسن.
Anas (RAA) narrated that the Messenger of Allah (ﷺ) used to say, “O Allah! Grant me benefit in what you have taught me, and teach me useful knowledge and provide me with knowledge that will benefit me.” Related by An-Nasa’i and Al-Hakim. At-Tirmidhi reported a similar tradition on the authority of `Abu Hurairah (RAA), he said at its end, “And increase my knowledge. Praise be to Allah in all circumstances. I seek refuge in Allah from the state of those who will go to Hell.” Its chain of narrators is good.