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 and my prayer has not been answered.'"

Azami 10919

Sahih

عن أبي هريرة

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

الأعظمي 10919صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Rulings on supplication
Section
Supplication of the Muslim is answered as long as he does not hasten the response, or supplicate for sin, or severing ties of kinship
Numbering
Jami al-Kamil 10919 (2nd edition)
Azami 10919