Zevachim8: 2
קָדָשִׁים בְּקָדָשִׁים מִין בְּמִינוֹ, זֶה יִקְרַב לְשֵׁם מִי שֶׁהוּא, וְזֶה יִקְרַב לְשֵׁם מִי שֶׁהוּא. קָדָשִׁים בְּקָדָשִׁים מִין בְּשֶׁאֵינוֹ מִינוֹ, יִרְעוּ עַד שֶׁיִּסְתָּאֲבוּ, וְיִמָּכְרוּ; וְיָבִיא בִדְמֵי הַיָּפֶה שֶׁבָּהֶן מִמִּין זֶה, וּבִדְמֵי הַיָּפֶה שֶׁבָּהֶן מִמִּין זֶה, וְיַפְסִיד הַמּוֹתָר מִבֵּיתוֹ. נִתְעָרְבוּ בִבְכוֹר וּבְמַעֲשֵׂר, יִרְעוּ עַד שֶׁיִּסְתָּאֲבוּ וְיֵאָכְלוּ כִּבְכוֹר וּכְמַעֲשֵׂר. הַכֹּל יְכוֹלִין לִהִתְעָרֵב חוּץ מִן הַחַטָּאת וּמִן הָאָשָׁם.
Offerings [which became mixed] with [other] offerings [of] the same kind should each be offered for whomever [is the owner]. Offerings [which became mixed] with offerings [of] a different kind should be left to pasture until they become blemished, [after which] they should be sold; [then] for the money of the most expensive of them, he must bring one of each kind [of offering], and make up the difference from his own funds. [If] they became mixed with a bechor- or maaser-offering, they should be left to pasture until they become blemished and [then] be eaten as bechor- and maaser-offerings. Any [kind of offering] can become mixed up [with any other kind] except for the chatas offering [with] the asham-offering.