Sura Maryam

19:49

فَلَمَّا ٱعْتَزَلَهُمْ وَمَا يَعْبُدُونَ مِن دُونِ ٱللَّهِ وَهَبْنَا لَهُۥٓ إِسْحَٰقَ وَيَعْقُوبَ ۖ وَكُلًّۭا جَعَلْنَا نَبِيًّۭا

Och sedan han lämnat dem och det som de dyrkade i Guds ställe, skänkte Vi honom Isak och Jakob och kallade dem båda till profeter.

Tafsir 19:49

So when he left them and their gods they used to worship besides Allah, I replaced for him his loss of family, and so I gave him his son Isaac and I gave him his grandson Jacob. And each one of them I made a prophet.