Nazir6: 6
תִּגְלַחַת הַטֻּמְאָה כֵּיצַד? הָיָה מַזֶּה בַּשְּׁלִישִׁי וּבַשְּׁבִיעִי וּמְגַלֵּחַ בַּשְּׁבִיעִי וּמֵבִיא קָרְבָּנוֹתָיו בַּשְּׁמִינִי. וְאִם גִּלַּח בַּשְּׁמִינִי — מֵבִיא קָרְבְּנוֹתָיו בּוֹ בַיּוֹם, דִּבְרֵי רַבִּי עֲקִיבָא. אָמַר לוֹ רַבִּי טַרְפוֹן: מַה בֵּין זֶה לִמְצוֹרָע? אָמַר לוֹ: זֶה טָהֳרָתוֹ תְּלוּיָה בְיָמָיו, וּמְצוֹרָע טָהֳרָתוֹ תְּלוּיָה בְתִגְלַחְתּוֹ, וְאֵינוֹ מֵבִיא קָרְבָּן אֶלָּא אִם כֵּן הָיָה מְעֹרַב שֶׁמֶשׁ.
6. What is the procedure for head-shaving in tumah? He would [be] sprinkled on the third and on the seventh [days], shave [his head] on the seventh, and bring his sacrifices on the eighth. However, if he shaved on the eighth, he brings his sacrifices on that same day; [these are] the words of R’ Akiva. R’ Tarfon said to him: What is [the difference] between this one and a metzora? He said to him: This one’s purification is dependent on his days, while a metzora’s purification depends on his shaving, and he cannot bring a sacrifice unless the sun has set on him.
Nazir6: 7
תִּגְלַחַת הַטָּהֳרָה כֵּיצַד? הָיָה מֵבִיא שָׁלשׁ בְּהֵמוֹת, חַטָּאת עוֹלָה וּשְׁלָמִים, וְשׁוֹחֵט אֶת הַשְּׁלָמִים וּמְגַלֵּחַ עֲלֵיהֶם, דִּבְרֵי רַבִּי יְהוּדָה. רַבִּי אֶלְעָזָר אוֹמֵר: לֹא הָיָה מְגַלֵּחַ אֶלָּא עַל הַחַטָּאת, שֶׁהַחַטָּאת קוֹדֶמֶת בְּכָל מָקוֹם. וְאִם גִלַּח עַל אַחַת מִשְּׁלָשְׁתָּן — יָצָא.
What is the procedure for head-shaving in taharah? He would bring three animals —- a sin-offering, a burnt-offering, and a peace-offering —- slaughter the peace-offering and shave upon it; [these are] the words of R’ Yehudah. R’ Elazar says: He did not shave [his head] except on [the slaughter of] the sin-offering, because the sin-offering takes precedence on every occasion. However, if he shaved [his head] on any of the three, he has discharged his obligation.