Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: The Messenger of Allah (peace and blessings be upon him) used to make this supplication: "O Allah, I seek refuge in You from knowledge that does not benefit, from a supplication that is not heard, from a heart that is not humbled, and from a soul that is never satisfied. O Allah, I seek refuge in You from these four (things)."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10974