Surah Al-Hajj

22:17

إِنَّ ٱلَّذِينَ ءَامَنُوا۟ وَٱلَّذِينَ هَادُوا۟ وَٱلصَّٰبِـِٔينَ وَٱلنَّصَٰرَىٰ وَٱلْمَجُوسَ وَٱلَّذِينَ أَشْرَكُوٓا۟ إِنَّ ٱللَّهَ يَفْصِلُ بَيْنَهُمْ يَوْمَ ٱلْقِيَٰمَةِ ۚ إِنَّ ٱللَّهَ عَلَىٰ كُلِّ شَىْءٍۢ شَهِيدٌ

Indeed, those who have believed and those who were Jews and the Sabeans and the Christians and the Magians and those who associated with Allah - Allah will judge between them on the Day of Resurrection. Indeed Allah is, over all things, Witness.

Tafsir 22:17

Those who have faith in Allah, and they are: the believers from this nation, the Jews, the Sabians (a group of followers of one of the prophets), the Christians, the Magians (fire-worshippers), the idolaters; Allah will judge between them on the Day of Judgment, then He will enter the believers amongst them into paradise and enter others into hellfire. Allah is a Witness to all the sayings and actions of His servants, with nothing being hidden from Him, and He shall reward them for these actions.