The core claim that the Avos were mekayem the Torah before it was given rests on Yoma 28b:9-10, where Rav derives from the pasuk "because Avraham hearkened to My voice and kept My charge, My mitzvot, My statutes and My Torahs" (Bereishit 18:19 echoes the same language regarding commanding his household) that Avraham fulfilled the entire Torah, including even eruvei tavshilin, and not merely the seven Noahide laws or those plus circumcision. The same derivation and pasuk are brought in Kiddushin 82a:10, which states plainly that Avraham fulfilled the whole Torah before it was given, learned out from the same verse.
Rashi on Bereishit 26:5 explains the phrase "kept My charge" as referring to rabbinic-level fences erected to safeguard Torah prohibitions, such as the extensions of forbidden relations and the shevus restrictions of Shabbat, implying that Avraham's observance extended even to rabbinic enactments, not merely Biblical law.
The Ramban (Bereishit 26:5) questions this entire framework: if Avraham truly observed the whole Torah before it was given, how could Yaakov set up a matzeva, marry two sisters, Amram marry his aunt, and Moshe erect twelve matzevot — all practices the Torah later forbids? He proposes that Avraham kept the Torah specifically in the Land of Israel, suggesting the obligation was understood as geographically or contextually bound rather than absolute.
Beyond general Torah observance, specific mitzvot are attributed to individual Avot: Berakhot 26b:4-6 records that the Avot instituted the three daily prayers, with Avraham establishing shacharit, Yitzchak mincha, and Yaakov maariv, each derived from a pasuk describing their actions. Mishneh Torah, Melachim and Wars 9:1 likewise states that Avraham was commanded in circumcision beyond the Noahide laws and prayed shacharit, while Yitzchak separated maaser and added another prayer later in the day.
Nedarim 32a:5-6 highlights circumcision in particular, teaching that though Avraham was engaged in mitzvot more than anyone, he was called wholehearted (tamim) only on account of milah, and that this mitzvah is equal in weight to all the mitzvot of the Torah.
Rashi on Bereishit 18:19 reads the command to Avraham's household as a command to keep "the way of Hashem," through acts of charity and justice, framing Avraham's legacy as transmitting a practiced way of life to his descendants, consistent with Bereishit 18:19 itself.
Bereishit 35:2-4 shows Yaakov commanding his household to remove foreign gods, purify themselves, and change garments before building an altar, an episode read as reflecting the household's practice of removing idolatry and preparing themselves for divine service.
The Ramban (Bereishit 12:6) frames the Avot's experiences broadly as a pattern for their descendants ("maaseh avot siman la-banim"), suggesting that their conduct, including their religious practice, was meant to instruct the future, which bears on why their observance of mitzvot mattered beyond their own generation.
Chiddushei Aggadot, Sanhedrin 95 states that the Avot were distinguished through mitzvot, with their every step and action performed through Hashem's mitzvot and providence, since they were considered the foundation of the world.
Eretz Tzvi al HaTorah p. 204 addresses a related but distinct theme: it explains that the ancestors were punished doubly — once for violating positive and negative commandments, and again because during exile obstacles prevented performance of mitzvot even when desired.
Alshich raises a possible objection that the Avot sustained the world through their own natural inclination and merit rather than through the burden of mitzvot, contrasting their mode of service with that expected of their descendants.
HaKtav VeHaKabalah, Bereishit 25:31 discusses the spiritual destiny associated with the firstborn status and sanctity, bearing on Yaakov's acquisition of the birthright, and notes that Yaakov did not pursue the birthright for temporal benefit such as a double inheritance or honor.
Two later thinkers situate the Avot's practice historically and theologically: Rav Eliezer Melamed (Peninei Halakhah, Shabbat 1:3) writes that the Avot, out of the feeling of their hearts, fulfilled the mitzvot and kept Shabbat even though the Torah had not yet been given, dedicating their lives to repairing the world through kindness and truth; and Rav Kook (Ein Aya, Berakhot 4:1) explains that the Avot served Hashem through personal, individual service before the nation of Israel existed, which is why the daily prayers they instituted are understood by one opinion as corresponding to that personal elevation of the soul rather than to the collective service later embodied in the tamid offerings.