Abu Hurairah reported,

Among the supplications of the Prophet ﷺ was, "O Allah, I seek refuge in You from knowledge that brings no benefit, from a supplication that is not heard, from a heart that does not feel awe, and from a soul that is never satisfied."

Ibn Majah 250

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا أبو خالد الأحمر عن ابن عجلان عن سعيد بن أبي سعيد

عن أبي هريرة قال

كان من دعاء النبي ﷺ اللهم إني أعوذ بك من علم لا ينفع ومن دعاء لا يسمع ومن قلب لا يخشع ومن نفس لا تشبع

ابن ماجه 250صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Sunnah
Chapter
Benefiting from knowledge and acting upon it
Numbering
Darussalam 250
Ibn Majah 250