ספרא Emor / Chapter 8 · ג
Sifra 2
How so? If one came and slaughtered a cow, and another came and slaughtered its mother, and a third came and slaughtered its daughter -- the last two are liable. "It and its young" -- and not "it and its siblings." How so? [If] five siblings [were slaughtered], and afterwards their mother was slaughtered, he is only liable once. But if he slaughtered the mother and afterwards the five siblings, he is liable on account of each and every one. "It and its young" -- and not it and its mother's mother. How so? [If] he slaughtered its mother's mother, which he is permitted to do, and afterwards slaughtered the middle [generation] -- he is administered forty lashes. Summachos says in the name of Rabbi Meir, he is administered eighty lashes. [If] he slaughtered its mother and its mother's mother, he is administered eighty lashes.