Quran 2:214
Or do you think that you will enter Paradise while such [trial] has not yet come to you as came to those who passed on before you? They were touched by poverty and hardship and were shaken until [even their] messenger and those who believed with him said, “When is the help of Allah?” Unquestionably, the help of Allah is near.
— Saheeh International
Quran 22:11
And of the people is he who worships Allah on an edge.1 If he is touched by good, he is reassured by it; but if he is struck by trial, he turns on his face [to unbelief]. He has lost [this] world and the Hereafter. That is what is the manifest loss.
— Saheeh International