The Messenger of Allah ﷺ said, "Whoever wishes for Allah to answer him in times of hardship and distress, let him supplicate abundantly in times of ease."
قال رسول الله ﷺ: من سره أن يستجيب الله له عند الشدائد والكرب فليكثر الدعاء في الرخاء.
Tirmidhi (3382), Abu Yaala (6396), and Tabarani in Duaa (45) all narrated it through the route of Ubayd bin Waqid, who said, Saeed bin Atiya Laythi narrated to us, from Shahr bin Hawshab, from Abu Hurairah, who said, and then he mentioned it. Abu Naeem also narrated it in Akhbar Isbahan through the route of Amr bin Ali Sayrafi, who said, Ubayd bin Waqid narrated to us with the same wording. Amr bin Ali then said, "I do not know of anyone narrating it besides Ubayd bin Waqid, and he was trustworthy." Tirmidhi graded the hadith daif, saying, "a gharib hadith." The reason for its weakness is that it is a chain composed entirely of weak narrators. Ubayd bin Waqid is Qaysi, who is disputed. Sayrafi declared him trustworthy as mentioned above, while Abu Hatim Razi declared him daif, and Ibn Adi said, "Most of what he narrates is not corroborated." Ibn Hajar did not come across Sayrafi's declaration of his trustworthiness, though Sayrafi was one of those who narrated from him, and so he stated flatly that he was daif. As for his teacher Saeed bin Atiya Laythi, no one declared him trustworthy except Ibn Hibban, and so Ibn Hajar said of him, "acceptable," meaning when corroborated.This narration has in fact been corroborated. Abu Yaala (6397) narrated it from Amr Naqid, who said, Hushaym narrated to us, Abu Bishr Jafar bin Iyas narrated to us, from Shahr bin Hawshab with the same wording. Its chain is hasan on account of Shahr bin Hawshab, about whom there is well known discussion, though his hadith is hasan when not contradicted, and it has indeed been corroborated. Tabarani in Duaa (44) and Hakim (1/544) both narrated it through the route of Abdullah bin Salih, who said, Muawiya bin Salih narrated to us, from Abu Amir Alhani, from Abu Hurairah, with the same wording. Hakim said, "A hadith sahih in its chain. Bukhari relied on Abu Salih as evidence, and Abu Amir Alhani, whom I take to be Hawzani, is truthful."I say, its chain is hasan on account of Abdullah bin Salih, who is Abu Salih. As for Abu Amir Alhani, Daraqutni said of him, "There is no harm in him." Ajli and Ibn Hibban both declared him trustworthy. His name is Abdullah bin Ghabir, from Hims, and he is one of the teachers of Hurayz bin Uthman, and for this reason Ibn Hajar stated flatly that he was trustworthy.So the hadith, taking all its routes together, is hasan at the very least.