Vayikra / Leviticus 13:30 · Sod
וְרָאָה הַכֹּהֵן אֶת־הַנֶּגַע וְהִנֵּה מַרְאֵהוּ עָמֹק מִן־הָעוֹר וּבוֹ שֵׂעָר צָהֹב דָּק וְטִמֵּא אֹתוֹ הַכֹּהֵן נֶתֶק הוּא צָרַעַת הָרֹאשׁ אוֹ הַזָּקָן הוּא׃
the kohen shall look at the affliction: if it looks deeper than the skin and there is thin yellow hair in it, the kohen shall pronounce him impure. It is a scall, a leprosy of the head or of the beard.
Sod סוֹד
Crowns on the hair
People say that a man's strength can be in his hair, as with Shimshon. In the language of secrets, hairs are threads by which power flows down.
The Zohar: "crowns" of strict judgement hold on to the hair. When the Holy One, blessed is He, wages war on the enemies of Israel, He first shaves the hair of their head and beard, and then their crowns break, as happened with the king of Ashur. So the law of leprosy pays such attention to the hair of the head and the beard.
How Zohar explain it
Zohar Leprosy of the head or the beard
And this "man" (אִישׁ) is included in the general notion "adam" (אָדָם). And when the Holy One, blessed is He, wishes to wage war, He wages war on them through this "man", as it is written: "The Eternal is a man of war" (Shemot / Exodus 15:3), through this very "man". And He does not wage war on them until He shaves the hair of their head, so that they are torn from their chain and all the crowns that hold on to the hairs are broken. Of this it is written: "On that day the Eternal will shave with a razor hired beyond the river, with the king of Ashur, the head and the hair of the feet, and it shall sweep away the beard" (Yeshayahu / Isaiah 7:20).
Takeaway
The Zohar says this on the verse about a man whose hair has fallen from his head (Vayikra / Leviticus 13:40). The same verse of Isaiah about the beard is brought by Kitzur Baal HaTurim in the remez of this verse.
Before this the Zohar says: one in whom strict judgement holds is not purified until the hair passes from him. So the Levites were purified: "and let them pass a razor over all their flesh" (Bamidbar / Numbers 8:7).
"A man of war" (אִישׁ מִלְחָמָה) are words from the Song at the Sea after the crossing (Shemot / Exodus 15:3).