"اللهم إني أعوذ بك من علم لا ينفع وعمل لا يرفع ¤ ودعاء لا يسمع"
The Prophet (peace and blessings be upon him) said:
"'Allahumma inni a'udhu bika min 'ilmin la yanfa', wa 'amalin la yurfa', wa du'a'in la yusma'' (O Allah, I seek refuge in You from knowledge that does not benefit, from a deed that is not raised up to Your presence, and from a supplication that is not heard)."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 1295