Surah At-Taghabun, ayah 11

64:11

مَآ أَصَابَ مِن مُّصِيبَةٍ إِلَّا بِإِذۡنِ ٱللَّهِۗ وَمَن يُؤۡمِنۢ بِٱللَّهِ يَهۡدِ قَلۡبَهُۥۚ وَٱللَّهُ بِكُلِّ شَيۡءٍ عَلِيمٞ ١١

Mā asāba mim musībatin illā bi idhnillāhi waman yu'mim billāhi yahdi qalbahū wallāhu bikulli shay'in 'alīm

No disaster strikes except by permission of Allāh. And whoever believes in Allāh - He will guide his heart. And Allāh is Knowing of all things.