Chabad.org — English translation + Rashi
Torah Temimah cites Nazir 40a: the Levites’ shaving (“והעבירו תער על כל בשרם”) is a positive mitzvah for that moment of consecration, not a lasting obligation for all generations.
English: It was taught: the Levites shave, and their shaving is a mitzvah, as it is written “and they shall pass a razor over all their flesh.” It is only a mitzvah for that hour—when they were chosen for service in the wilderness—and does not apply for generations.
Category B — Textual / lexical / linguistic method.
Method: The Torah’s direct command that the Levites pass a razor over their flesh is the textual basis for treating their shaving as a mitzvah of consecration. Nazir 40a identifies the Levites among those whose shaving is itself a mitzvah.
Textual trigger: “וְהֶעֱבִירוּ תַעַר עַל כׇּל־בְּשָׂרָם” (Bamidbar 8:7), read with the Mishnah’s statement in Nazir 40a, “וּלְוִיִּם … וּתְגַלַּחְתָּן מִצְוָה.”
The purification of the Levites included a complete body-shaving that functioned as a one-time consecration rite, parallel in intensity to other desert-era dedications.