Quran Chapter 2 Verse 62-64
Indeed, those who believed and those who were Jews or Christians or Sabeans [before Prophet Muhammad] – those [among them] who believed in Allah and the Last Day and did righteousness – will have their reward with their Lord, and no fear will there be concerning them, nor will they grieve.
And [recall] when We took your covenant, [O Children of Israel, to abide by the Torah] and We raised over you the mount, [saying], “Take what We have given you with determination and remember what is in it that perhaps you may become righteous.”
Then you turned away after that. And if not for the favor of Allah upon you and His mercy, you would have been among the losers.