Reference for Pesachim 141:4
לא כדתני טעמא מה ראית לרבות לילי יום טוב האחרון ולהוציא לילי יום טוב ראשון מרבה אני לילי יום טוב האחרון שיש שמחה לפניו ומוציא אני לילי יום טוב ראשון שאין שמחה לפניו
Raba objected: [The reciting of] hallel and rejoicing are [observed] eight [days]. Now if you say [that] we require the slaughtering at the time of rejoicing, then there are many occasions when only seven are found, e.g.. if the first day of the Festival falls on the Sabbath? Said R. Huna son of Rab Judah: He rejoices with the he-goats of the Festivals. Said Raba: Of this there are two refutations: firstly, because the he-goats of the Festivals can be eaten raw [on the Sabbath], but cannot be eaten roast, and there is no rejoicing in [eating] raw [meat]; moreover, the Priests eat it; and wherewith do the Israelites rejoice? Rather, said R. Papa: He rejoices with clean garments and old wine.