נזיר ו:ז · Nazir 6:7

תִּגְלַחַת הַטָּהֳרָה כֵּיצַד, הָיָה מֵבִיא שָׁלשׁ בְּהֵמוֹת, חַטָּאת עוֹלָה וּשְׁלָמִים, וְשׁוֹחֵט אֶת הַשְּׁלָמִים, וּמְגַלֵּחַ עֲלֵיהֶם, דִּבְרֵי רַבִּי יְהוּדָה. רַבִּי אֶלְעָזָר אוֹמֵר, לֹא הָיָה מְגַלֵּחַ אֶלָּא עַל הַחַטָּאת, שֶׁהַחַטָּאת קוֹדֶמֶת בְּכָל מָקוֹם. וְאִם גִּלַּח עַל אַחַת מִשְּׁלָשְׁתָּן, יָצָא:
With regard to a nazirite’s shaving of purity after the completion of his term of naziriteship, how is it performed? He would bring three animals: One for a sin-offering, one for a burnt-offering, and one for a peace-offering. And he slaughters the peace-offering and shaves his hair after he slaughters them. This is the statement of Rabbi Yehuda. Rabbi Elazar says: He would shave only after he slaughtered the sin-offering, as the sin-offering precedes the other offerings in all places, and therefore he sacrifices the sin-offering first. He shaves his hair after he slaughters this offering. And if he shaved after the sacrifice of any one of the three of them, he has fulfilled his obligation after the fact.

Word-by-word Breakdown (מילים ושרשים)

תִּגְלַחַת → shaving [ג - ל - ח]הַטָּהֳרָה → of purity [ט - ה - ר]כֵּיצַד → how הָיָה → was [ה - י - ה]מֵבִיא → bringing [ב - ו - א]שָׁלשׁ → three [ש - ל - ש]בְּהֵמוֹת → animals [ב - ה - מ]חַטָּאת → a sin-offering [ח - ט - א]עוֹלָה → a burnt-offering [ע - ל - ה]וּשְׁלָמִים → and a peace-offering [ש - ל - ם]וְשׁוֹחֵט → and slaughters [ש - ח - ט]אֶת → [direct object marker] הַשְּׁלָמִים → the peace-offering [ש - ל - ם]וּמְגַלֵּחַ → and shaves [ג - ל - ח]עֲלֵיהֶם → after them דִּבְרֵי → the statement of [ד - ב - ר]רַבִּי → Rabbi [ר - ב - ב]יְהוּדָה → Yehuda [י - ד - ה]רַבִּי → Rabbi [ר - ב - ב]אֶלְעָזָר → Elazar [א - ל - ע - ז]אוֹמֵר → says [א - מ - ר]לֹא → not הָיָה → was [ה - י - ה]מְגַלֵּחַ → shaving [ג - ל - ח]אֶלָּא → except עַל → upon הַחַטָּאת → the sin-offering [ח - ט - א]שֶׁהַחַטָּאת → for the sin-offering [ח - ט - א]קוֹדֶמֶת → precedes [ק - ד - מ]בְּכָל → in every [כ - ל - ל]מָקוֹם → place [מ - ק - ם]וְאִם → and if גִּלַּח → he shaved [ג - ל - ח]עַל → after אַחַת → one [א - ח - ד]