An-Nur 24:55
وَعَدَ ٱللَّهُ ٱلَّذِينَ ءَامَنُوا۟ مِنكُمْ وَعَمِلُوا۟ ٱلصَّـٰلِحَـٰتِ لَيَسْتَخْلِفَنَّهُمْ فِى ٱلْأَرْضِ كَمَا ٱسْتَخْلَفَ ٱلَّذِينَ مِن قَبْلِهِمْ وَلَيُمَكِّنَنَّ لَهُمْ دِينَهُمُ ٱلَّذِى ٱرْتَضَىٰ لَهُمْ وَلَيُبَدِّلَنَّهُم مِّنۢ بَعْدِ خَوْفِهِمْ أَمْنًا ۚ يَعْبُدُونَنِى لَا يُشْرِكُونَ بِى شَيْـًٔا ۚ وَمَن كَفَرَ بَعْدَ ذَٰلِكَ فَأُو۟لَـٰٓئِكَ هُمُ ٱلْفَـٰسِقُونَ
WaAAada Allahu allatheena amanoominkum waAAamiloo assalihatilayastakhlifannahum fee al-ardi kama istakhlafaallatheena min qablihim walayumakkinanna lahum deenahumuallathee irtada lahum walayubaddilannahum minbaAAdi khawfihim amnan yaAAbudoonanee la yushrikoona beeshay-an waman kafara baAAda thalika faola-ika humualfasiqoon
Allāh has promised those who have believed among you and done righteous deeds that He will surely grant them succession [to authority] upon the earth just as He granted it to those before them and that He will surely establish for them [therein] their religion which He has preferred for them and that He will surely substitute for them, after their fear, security, [for] they worship Me, not associating anything with Me. But whoever disbelieves after that - then those are the defiantly disobedient.
Allah has promised those of you who believe and do good deeds that He will certainly make them (His) vicegerents in the land, as He made those before them, and will certainly establish for them their religion which He has chosen for them, and will certainly give them peace in place of fear in which they were before; (provided that) they worship Me, ascribing no partner to Me. And those who turn infidel after that are the transgressors.