COMMENTARY on 37:112
Mustafa Khattab:

Translation:
We ˹later˺ gave him good news of Isaac—a prophet, and one of the righteous.14
Commentary:
14   The birth of Isaac is announced after the story of sacrifice. So this is a proof that the son who was going to be sacrificed was Ishmael, not Isaac. This is also supported by 11:71, where Sarah is told that she would give birth to Isaac, who would (reach adulthood and) have a son by the name of Jacob.

 

A. Yusuf Ali:

Translation:
And We gave him 4105 the good news of Isaac - a prophet,- one of the Righteous.
Commentary:

4105  Isaac was Abraham's second son, born of Sarah, when Abraham was 100 years of age. See n. 4101. He was also blessed and became the ancestor of the Jewish people. See next note.