Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:8:40

But if they turn away - then know that Allah is your protector. Excellent is the protector, and Excellent is the helper.  

But if they turn away, from belief, know that God is your Protector, your Helper and the One Who takes charge of your affairs — an excellent Protector, is He, and an excellent Helper!, ˹He is˺ for you.
القرآن:٨:٤٠

وَإِنْ تَوَلَّوْا فَاعْلَمُوا أَنَّ اللَّهَ مَوْلَاكُمْ ۚ نِعْمَ الْمَوْلَىٰ وَنِعْمَ النَّصِيرُ  

{وإن تولَّوا} عن الإيمان {فاعلموا أن الله مولاكم} ناصركم ومتولي أموركم {نعم المولى} هو {ونعم النصير} أي الناصر لكم.