Surah Al-Hadid 57:22
مَآ أَصَابَ مِن مُّصِيبَةٍ فِى ٱلْأَرْضِ وَلَا فِىٓ أَنفُسِكُمْ إِلَّا فِى كِتَـٰبٍ مِّن قَبْلِ أَن نَّبْرَأَهَآ ۚ إِنَّ ذَٰلِكَ عَلَى ٱللَّهِ يَسِيرٌ
No disaster strikes upon the earth or among yourselves except that it is in a register before We bring it into being - indeed that, for Allāh, is easy -
Translation: Saheeh International
Tafsir
No affliction befalls in the earth by way of drought for example or in yourselves such as illness or the loss of a child but it is in a Book meaning the Preserved Tablet al-lawh al-mahfūz before We bring it about before We create it — the same is said to be true of God’s graces — that is indeed easy for God
Excerpt from Tafsir al-Jalalayn, commentary on 57:22, via Quran.com. The reader has the full commentary and 9 more tafsirs.