Al-Baqarah 2:214
أَمْ حَسِبْتُمْ أَن تَدْخُلُوا۟ ٱلْجَنَّةَ وَلَمَّا يَأْتِكُم مَّثَلُ ٱلَّذِينَ خَلَوْا۟ مِن قَبْلِكُم ۖ مَّسَّتْهُمُ ٱلْبَأْسَآءُ وَٱلضَّرَّآءُ وَزُلْزِلُوا۟ حَتَّىٰ يَقُولَ ٱلرَّسُولُ وَٱلَّذِينَ ءَامَنُوا۟ مَعَهُۥ مَتَىٰ نَصْرُ ٱللَّهِ ۗ أَلَآ إِنَّ نَصْرَ ٱللَّهِ قَرِيبٌ
Am hasibtum an tadkhuloo aljannatawalamma ya/tikum mathalu allatheena khalaw minqablikum massat-humu alba/sao waddarraowazulziloo hatta yaqoola arrasoolu wallatheenaamanoo maAAahu mata nasru Allahi alainna nasra Allahi qareeb
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 Allāh?" Unquestionably, the help of Allāh is near.
Do you think that you will enter Paradise while you have not yet been visited by (difficult) circumstances like those that were faced by the people who passed away before you? They were afflicted by hardship and suffering, and were so shaken down that the prophet, and those who believed with him, started saying: “When (will come) the help of Allah?” (Then, they were comforted by the Prophet who said to them) ‘Behold, the help of Allah is near.’