Pesachim7: 6
נִטְמָא הַקָּהָל אוֹ רֻבּוֹ, אוֹ שֶׁהָיוּ הַכֹּהֲנִים טְמֵאִים וְהַקָּהָל טְהוֹרִים — יֵעָשֶׂה בְטֻמְאָה. נִטְמָא מִעוּט הַקָּהָל — הַטְּהוֹרִין עוֹשִׂין אֶת הָרִאשׁוֹן, וְהַטְּמֵאִין עוֹשִׂין אֶת הַשֵּׁנִי.
[If] the community or its majority became contaminated, or if the Kohanim were contaminated but the community was uncontaminated, it is performed in contamination.  [If] a minority of the community became contaminated, those uncontaminated observe the first [pesach-offering], and the contaminated observe the second [pesach-offering].