Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “Call upon Allah with certainty that He will answer you. Know that Allah will not answer the supplication of a heart that is unmindful and distracted.”
Source: Sunan al-Tirmidhī 3479
Grade: Hasan (fair) according to Al-Albani
عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ادْعُوا اللَّهَ وَأَنْتُمْ مُوقِنُونَ بِالْإِجَابَةِ وَاعْلَمُوا أَنَّ اللَّهَ لَا يَسْتَجِيبُ دُعَاءً مِنْ قَلْبٍ غَافِلٍ لَاهٍ
3479 سنن الترمذي كتاب الدعوات باب ما جاء في جامع الدعوات
3479 المحدث الألباني خلاصة حكم المحدث حسن في صحيح الترمذي