Yahya related to me from Malik from Ibn Shihab from Abu Ubayd, the mawla of Ibn Azhar, from Abu Hurayra that the Messenger of Allah ﷺ said, "You will be answered as long as you are not impatient and say, 'I have made a dua and I have not been answered .' "
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ يُسْتَجَابُ لأَحَدِكُمْ مَا لَمْ يَعْجَلْ فَيَقُولُ قَدْ دَعَوْتُ فَلَمْ يُسْتَجَبْ لِي