Numbers 6:9

9 If your consecrated hair is defiled because you are right beside someone who suddenly dies, you must wait seven days and then shave your head; and so you become ritually clean.

Numbers 6:9 In-Context

8 As long as you are a nazirite, you are consecrated to the Lord.
9 If your consecrated hair is defiled because you are right beside someone who suddenly dies, you must wait seven days and then shave your head; and so you become ritually clean.
10 On the eighth day you shall bring two doves or two pigeons to the priest at the entrance of the Tent of the Lord's presence.
11 The priest shall offer one as a sin offering and the other as a burnt offering, to perform the ritual of purification for you because of your contact with a corpse. On the same day you shall reconsecrate your hair
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.