TT #10 · Parshas Vayechi · Passuk 48:7
And as for me, when I came from Paddan, Rachel died unto me in the land of Kenaan in the way, when there was still some way to come unto Efras; and I buried her there in the way of Efras — the same is Beis-Lechem.
Torah Temimah points to the derasha on Sanhedrin 22b (Yerushalmi / Midrashic sources linked in TT).
TT lemma: מתה עלי רחל.
English of Core Text: It was taught: A woman dies only with respect to her husband, as it is said: “Rachel died unto me.”
Category B — Textual / lexical interpretation.
Method — The Gemara reads “Rachel died to me” as expressing the special relationship of a wife’s death to her husband. The apparently unnecessary “alai” (“to me”) supplies the relational meaning.
Textual trigger — “Va-tamot alai Rachel” in Bereishis 48:7; the Gemara derives the husband’s particular grief from the added “alai.”
The death of a wife is described primarily in relation to her husband. The verse supplies the linguistic source for this characterisation.