לא תאכלו כל נבלה. אין לי אלא נבלה, טרפה מנין? ת"ל "נבלה" - "כל נבלה".
(Devarim 14:21) "You shall not eat any carcass (neveilah)": This tells me only of neveilah. Whence do we derive (the same for) treifah (lit., a "torn" animal)? From "any carcass."
Sifrei on Deuteronomy
לא תאכלו כל נבלה. אין לי אלא נבלה, טרפה מנין? ת"ל "נבלה" - "כל נבלה".
(Devarim 14:21) "You shall not eat any carcass (neveilah)": This tells me only of neveilah. Whence do we derive (the same for) treifah (lit., a "torn" animal)? From "any carcass."
לגר אשר בשעריך תתננה. (פסחים נא וש"נ) מלמד שנותנה במתנה לגר תושב.
"To the ger in your gates shall you give it": We are hereby taught that he gives it as a gift to a ger toshav (a "resident stranger" — one who has taken it upon himself not to serve idolatry, but who eats carcass.)
מנין אף לנכרי? ת"ל לנכרי.
Whence is it derived (that he may give it) also to a gentile? From "to the gentile."
ומנין שמוכרה לגר תושב? ת"ל או מכור.
And whence is it derived that he may sell it to a gentile? From "or sell it to the gentile."
ומנין אף [נתינה] לנכרי? ת"ל לנכרי. כשתמצא לומר מוכרה ונותנה במתנה - לנכרי ולגר תושב (ואין הבדל ביניהם למעשה).
And whence is it derived (that he may sell it) also to the ger? From "to the ger." In sum: He may sell it or give it as a gift both to a gentile or a ger toshav.
ר' יהודה אומר, דברים ככתבם.
R. Yehudah says: The verse is to be taken literally (i.e., to the gentile, by selling, and not as a gift, to the ger, as a gift, and not by selling.)
כי עם קדוש אתה לה' א-להיך. [קדש עצמך במותר לך.] דברים המותרים ואחרים נהגו בהם איסור, אי אתה רשאי לנהוג היתר בפניהם. (כי עם קדוש אתה לה' א-להיך. קדש א"ע [=את עצמך]).
"for a holy people are you to the L-rd your G-d": Sanctify yourself with what is permitted to you, viz.: That which is permitted and others forbid to themselves (as a special act of piety), you are forbidden to permit to yourselves in their presence.
דבר אחר: לא תבשל גדי בחלב אמו. למה נאמר שלש פעמים? כנגד שלש בריתות שכרת הקב"ה עם ישראל -
"You shall not cook a kid in the milk of its mother": Why is this written three times? To exclude (from this prohibition) an animal, a bird, and an unclean beast.
[רבי עקיבה אומר חיה ועוף אינם מן התורה שנאמר] "לא תבשל גדי בחלב אמו" שלש פעמים - פרט לחיה ועוף ובהמה טמאה.
R. Yossi Haglili says: It is written "You shall not eat any carcass," and "You shall not cook a kid in the milk of its mother." What is forbidden as neveilah is forbidden to cook in milk. A bird, which is forbidden as neveilah, I might think that it is forbidden to cook it in milk; it is, therefore, written "in its mother's milk" — to exclude a bird, which has no mother's milk.
רי יוסי הגלילי אומר, נאמר לא תאכלו כל נבלה לגר אשר בשעריך תתננה, ונאמר לא תבשל גדי בחלב אמו, [את שאסור משום נבלה - אסור לבשל בחלב. עוף שנאסר משום נבלה, יכול יהא אסור לבשל בחלב? ת"ל בחלב אמו], יצא עוף שאין לו חלב אם.
Variantly: "You shall not cook a kid in its mother's milk": Why is this written three times? It corresponds to the three covenants that the Holy One Blessed be He made with Israel: one in Chorev, another in Arvoth Moav, and another in Mount Gerizim and Mount Eival.