Surah Yunus

10:100

وَمَا كَانَ لِنَفْسٍ أَن تُؤْمِنَ إِلَّا بِإِذْنِ ٱللَّهِ ۚ وَيَجْعَلُ ٱلرِّجْسَ عَلَى ٱلَّذِينَ لَا يَعْقِلُونَ

Dan tiadalah sebarang kuasa bagi seseorang untuk beriman melainkan dengan izin Allah (melalui undang-undang dan peraturanNya); dan Allah menimpakan azab atas orang-orang yang tidak mahu memahami (perintah-perintahNya).

Tafsir 10:100

It is not possible for any soul to believe by itself unless Allah permits. Belief only happens with His will, so do not lose yourself in grief over them. Allah places suffering and disgrace on those who do not apply their minds to His proof, instructions and prohibitions.