Ishmael is, of course, Abraham's illegitimate son, and mother and child were expelled from the family after the birth of Sarah's son, Isaac, so the chronology was backward.
WSJ: A Potent Biblical Bargain, Undermined | Clemency | Boston Lyric Opera | By Heidi Waleson