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 sahih, and Abbad bin Abu Saeed Maqburi is trustworthy, though no one narrated from him except his brother Saeed, and he has only this one hadith. Ibn Hajar attributed it in Tahdheeb to Abu Dawud, Nasai, and Ibn Majah. Abu Dawud narrated it in the Book of Prayer from Qutayba, Nasai narrated it in the Book of Seeking Refuge from Qutayba and from Ubaydullah bin Fadala bin Ibrahim, and Ibn Majah narrated it in the Book of Supplication from Isa bin Hammad.