From Sahih Bukhari (Hadith 6340):
Narrated Abu Huraira:Allah's Messenger (ﷺ) said, "The invocation of anyone of you is granted (by Allah) if he does not show impatience (by saying, "I invoked Allah but my request has not been granted)
Reference: Bukhari 6340