Abu Hurairah reported,

The Messenger of Allah ﷺ said, "The supplication of any one of you will be answered, as long as he does not become impatient and say, 'I have prayed, but no answer has come,' or 'I have not been answered.'"

Muslim 6934

Sahih

حدثنا يحيى بن يحيى قال قرأت على مالك عن ابن شهاب عن أبي عبيد مولى ابن أزهر

عن أبي هريرة

أن رسول الله ﷺ قال يستجاب لأحدكم ما لم يعجل فيقول قد دعوت فلا أو فلم يستجب لي

مسلم 6934صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Remembrance, supplication, Tawba, and seeking forgiveness
Chapter
Explanation that the supplicant is answered as long as he does not become impatient and say, "I supplicated but was not answered"
Numbering
Darussalam 6934
Muslim 6934