Pesachim8: 5
זָב שֶׁרָאָה שְׁתֵּי רְאִיּוֹת — שׁוֹחֲטִין עָלָיו בַּשְּׁבִיעִי; רָאָה שָׁלֹשׁ — שׁוֹחֲטִין עָלָיו בַּשְּׁמִינִי שֶׁלּוֹ.  שׁוֹמֶרֶת יוֹם כְּנֶגֶד יוֹם — שׁוֹחֲטִין עָלֶיהָ בַּשֵּׁנִי שֶׁלָּהּ; רָאֲתָה שְׁנֵי יָמִים — שׁוֹחֲטִין עָלֶיהָ בַשְּׁלִישִׁי.  וְהַזָּבָה — שׁוֹחֲטִין עָלֶיהָ בַשְּׁמִינִי.
A zav who experienced two discharges, they may slaughter on his behalf on the seventh [day]. [If] he experienced three, they may slaughter on his behalf on his eighth [day].  A woman who observes a day against a day, they may slaughter on her behalf on her second [day]. [If] she experienced discharges for two days, they may slaughter on her behalf on the third [day].  And the zavah, they may slaughter on her behalf on the eighth [day].