Al-A'raf
Al-A'raf 94
وَمَا أَرْسَلْنَا فِي قَرْيَةٍ مِنْ نَبِيٍّ إِلَّا أَخَذْنَا أَهْلَهَا بِالْبَأْسَاءِ وَالضَّرَّاءِ لَعَلَّهُمْ يَضَّرَّعُونَ
Va mea arsalnea fee kaaryatin min nabiyyin illea ahaaznea ahlahea bil ba’seai vad daarreai laaallahum yaaddaarraaoon(yaaddaarraaoona).
There is no country in which We would send a prophet without subjecting its inhabitants to distress and affliction in order that they pray.
...

