Sahih Muslim, Book 48, Hadith 126 (Muslim 6856)

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

The supplication of one of you is granted if he does not grow impatient and say- I supplicated my Lord but it was not granted.