Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) used to supplicate: "O Allah, I seek refuge in You from knowledge that does not benefit, from an action that is not elevated, from a heart that does not fear, and from a supplication that is not heard. (I seek refuge in You from all these)."
Hadith Referenceصحیح ابن حبان / كتاب العلم / 83
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «التعليق الرغيب» (1/ 75).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم. أبو نصر التمار: هو عبد الملك بن عبد العزيز القشيري.