Reference for Menachot 2:3
הַתּוֹדָה מְפַגֶּלֶת אֶת הַלֶּחֶם, וְהַלֶּחֶם אֵינוֹ מְפַגֵּל אֶת הַתּוֹדָה. כֵּיצַד. הַשּׁוֹחֵט אֶת הַתּוֹדָה לֶאֱכֹל מִמֶּנָּה לְמָחָר, הִיא וְהַלֶּחֶם מְפֻגָּלִין. לֶאֱכֹל מִן הַלֶּחֶם לְמָחָר, הַלֶּחֶם מְפֻגָּל וְהַתּוֹדָה אֵינָהּ מְפֻגָּלֶת. הַכְּבָשִׂים מְפַגְּלִין אֶת הַלֶּחֶם, וְהַלֶּחֶם אֵינוֹ מְפַגֵּל אֶת הַכְּבָשִׂים. כֵּיצַד. הַשּׁוֹחֵט אֶת הַכְּבָשִׂים לֶאֱכֹל מֵהֶם לְמָחָר, הֵם וְהַלֶּחֶם מְפֻגָּלִים. לֶאֱכֹל מִן הַלֶּחֶם לְמָחָר, הַלֶּחֶם מְפֻגָּל, וְהַכְּבָשִׂים אֵינָן מְפֻגָּלִין:
The thanksgiving offering can render the bread rejected due to piggul but the bread does not render the thanksgiving offering rejected due to piggul. How so? If he slaughtered the thanksgiving offering intending to eat part of it on the next day, both it and the bread are rejected due to piggul; if he intended to eat part of the bread the next day, the bread is rejected due to piggul but the thanksgiving offering is not rejected due to piggul. 2) The lambs can render the bread rejected due to piggul but the bread cannot render the lambs rejected due to piggul. a) How so? If he slaughtered the lambs intending to eat part of them the next day, both they and the bread are rejected due to piggul; if he intended to eat part of the bread the next day, the bread is rejected due to piggul but the lambs are not.