The Messenger of Allah ﷺ used to say: "O Allah, I seek refuge in Thee from four things: Knowledge which does not profit, a heart which is not submissive, a soul which has an insatiable appetite, and a supplication which is not heard." (Using translation from Abū Dāʾūd 1548)
أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ يَقُولُ كَانَ رَسُولُ اللَّهِ ﷺ يَدْعُو فَيَقُولُ اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْأَرْبَعِ مِنْ عِلْمٍ لَا يَنْفَعُ وَقَلَبٍ لَا يَخْشَعُ وَنَفْسٍ لَا تَشْبَعُ وَدُعَاءٍ لَا يُسْمَعُ «»