Targum Jonathan on Genesis
And the voice of the youth was heard before the Lord for the righteousness' sake of Abraham; and the Angel of the Lord called to Hagar from heaven, and said, What to thee, Hagar? Faint not, for the voice of the youth is heard before the Lord; neither shall judgment be according to the evil which he will do, but according to the righteousness of Abraham is mercy upon him in the place where he is.