The Messenger of Allah ﷺ used to say, "Allah, I seek refuge in You from four things, from knowledge that brings no benefit, from a heart that does not feel awe, from a soul that is never satisfied, and from a supplication that is not heard."
أخبرنا قتيبة قال حدثنا الليث عن سعيد بن أبي سعيد عن أخيه عباد بن أبي سعيد أنه سمع
كان رسول الله ﷺ يقول اللهم إني أعوذ بك من الأربع من علم لا ينفع ومن قلب لا يخشع ومن نفس لا تشبع ومن دعاء لا يسمع
[Its isnad is hasan] Abu Dawud narrated it in the Book of Prayer, chapter on seeking refuge, hadith no. 1548, from Qutayba with this chain, and Hakim graded it sahih in 1/534, 104, and Dhahabi agreed with him.