حَدَّثَنَا عَبْدُ اللهِ، قَالَ: حَدَّثَنَا مُعَاوِيَةُ، أَنَّ رَبِيعَةَ بْنَ يَزِيدَ حَدَّثَهُ، عَنْ أَبِي إِدْرِيسَ، عَنْ أَبِي هُرَيْرَةَ
عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: يُسْتَجَابُ لأَحَدِكُمْ مَا لَمْ يَدْعُ بِإِثْمٍ أَوْ قَطِيعَةِ رَحِمٍ، أَوْ يَسْتَعْجِلَ فَيَقُولُ: «دَعَوْتُ فَلَا أَرَى يَسْتَجِيبُ لِي، فَيَدَعُ الدُّعَاءَ»
The Messenger of Allah (sallallahu alayhi wa sallam), may Allah bless him and grant him peace, said, “The supplication of any of you is answered as long as he does not make supplication for something which is a wrong action or cutting off ties of kinship or become impatient and say, ‘I made supplication and was not answered,’ and so he stops making supplication.”