Sure Al-Baqara

2:62

إِنَّ ٱلَّذِينَ ءَامَنُوا۟ وَٱلَّذِينَ هَادُوا۟ وَٱلنَّصَٰرَىٰ وَٱلصَّٰبِـِٔينَ مَنْ ءَامَنَ بِٱللَّهِ وَٱلْيَوْمِ ٱلْءَاخِرِ وَعَمِلَ صَٰلِحًۭا فَلَهُمْ أَجْرُهُمْ عِندَ رَبِّهِمْ وَلَا خَوْفٌ عَلَيْهِمْ وَلَا هُمْ يَحْزَنُونَ

Gewiß, diejenigen, die glauben, und diejenigen, die dem Judentum angehören, und die Christen und die Säbier - wer immer an Allah und den Jüngsten Tag glaubt und rechtschaffen handelt, - die haben ihren Lohn bei ihrem Herrn, und keine Furcht soll sie überkommen, noch werden sie traurig sein.

Tafsir 2:62

Those who have faith from the nation of Muhammad (peace be upon him) and from the communities who came before him – from the Jews, the Christians and Sabians (said to be a group who followed prophets who were of the faith of Abraham, peace be upon him) – will have their reward with their Lord. They will not fear what awaits them in the Afterlife, nor grieve over what happened to them on earth. This was the case before the Prophet Muhammad (peace be upon him) was sent. Now his message of Islam – devotion and dedication to Allah – is the only way of life accepted by Allah, as He said, ‘Whoever seeks a path other than Islam, it will not be accepted from him’ [ Sūrah Āl ͑Imrān: 85].