TT #64 · Parashas Vayeishev · Passuk 40:11
Pharaoh’s cup was in my hand, and I took the grapes, pressed them into Pharaoh’s cup, and placed the cup in Pharaoh’s hand.”
Torah Temimah points to Pesachim 108a (R’ Yehoshua ben Levi).
Sefaria — Pesachim 108a (R’ Yehoshua ben Levi)
These four cups of Pesach — corresponding to what? R’ Yehoshua ben Levi said: corresponding to the four cups of Pharaoh.
Derash on the verse (Bavli sugya) — not a formal named middah of the 13. Halachic practice is matched to the count of “cup” in the parsha.
The four cups of the Seder correspond to the cups mentioned with Pharaoh in the butler’s account.