Sure Al-Maaida

5:69

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

Gewiß, diejenigen, die glauben', und diejenigen, die dem Judentum angehören, und die Säbier und die Christen, - wer (immer) an Allah und den Jüngsten Tag glaubt und rechtschaffen handelt, - über die soll keine Furcht kommen, noch sollen sie traurig sein.

Tafsir 5:69

The believers in Muhammad, and the Jews, Sabians and Christians before Muhammad – whichever of them believes Allah and the Last Day and does good actions – they will have no fear for the future and will not be sad over that which they missed in the worldly life.