Sura Al-Baqara

2:137

فَإِنْ ءَامَنُوا۟ بِمِثْلِ مَآ ءَامَنتُم بِهِۦ فَقَدِ ٱهْتَدَوا۟ ۖ وَّإِن تَوَلَّوْا۟ فَإِنَّمَا هُمْ فِى شِقَاقٍۢ ۖ فَسَيَكْفِيكَهُمُ ٱللَّهُ ۚ وَهُوَ ٱلسَّمِيعُ ٱلْعَلِيمُ

Och om de tror på det som är föremål för er tro, då har de i sanning funnit rätt väg; men om de vänder om [och går en annan väg], då är de söndrare och sektbildare och Gud skall skydda dig mot dem. Han är Den som hör allt, vet allt.

Tafsir 2:137

If the Jews and the Christians, and other disbelievers, have faith in the same way that you do, then they have been guided to the right way of life which Allah is satisfied with. Yet if they turn away from faith because they reject all the prophets or some of them, then they are in disagreement and are against you. Do not be sad, O Prophet, because Allah will protect you from their harm and evil, and give you victory over them. Allah hears all that they say, and knows all their intentions and actions.