The Messenger of Allah ﷺ used to say, "Allah, I seek refuge in You from knowledge that brings no benefit, from a deed that is not raised up, from a heart that does not submit in awe, and from a supplication that goes unheard."
حدثنا حسن بن موسى حدثنا حماد بن سلمة عن قتادة
أن رسول الله ﷺ كان يقول اللهم إني أعوذ بك من علم لا ينفع وعمل لا يرفع وقلب لا يخشع وقول لا يسمع