Maryam • EN-TAFSIR-IBN-ABBAS
﴿ فَلَمَّا ٱعْتَزَلَهُمْ وَمَا يَعْبُدُونَ مِن دُونِ ٱللَّهِ وَهَبْنَا لَهُۥٓ إِسْحَٰقَ وَيَعْقُوبَ ۖ وَكُلًّۭا جَعَلْنَا نَبِيًّۭا ﴾
“And after he had withdrawn from them and from all that they were worshipping instead of God, We bestowed upon him Isaac and Jacob, and made each of them a prophet;”
(So, when he had withdrawn from them) when he left them (and that which they were worshipping beside Allah) of idols. (We gave him Isaac) the cheerful (and Jacob) the son of his son. (Each of them) Abraham, Isaac and Jacob (We made a prophet) We favoured them with prophethood and Islam.