Parshas Chayei Sarah · Passuk 25:9
His sons Yitzchok and Yishmael buried him in the cave of Machpelah, in the field of Efron son of Tzochar the Hittite, facing Mamre,
Torah Temimah points to Bava Basra 16b. E-Daf · Sefaria — Bava Basra 16b
TT lemma: יצחק וישמעאל.
But what of Yishmael, about whom both passing away and being gathered are written? At that point Rava awoke and said: Children, this is what Rabbi Yochanan said: Yishmael repented during his father’s lifetime, as it is written, “Yitzchok and Yishmael his sons buried him.” Perhaps the Torah listed them according to their wisdom? If so, why does it say that Esav and Yaakov buried their father, listing Esav first? Rather, since Yishmael let Yitzchok precede him, he made Yitzchok his leader; from this we learn that he repented during his lifetime.
Category C — Contextual / literary / narrative method.
Method — Rabbi Yochanan infers that Yishmael repented during Avraham’s lifetime from the order in which the sons are named at the burial: Yitzchok is named first because Yishmael accorded him honor.
Textual trigger — “Va-yikberu oto Yitzchok ve-Yishmael banav” in Bereishis 25:9; the order of the names is read as evidence of Yishmael’s deference.
Yishmael’s willingness to let Yitzchok lead at their father’s burial is the evidence that he had repented and accepted Yitzchok’s authority during Avraham’s lifetime.