6:1 And the Lord spoke to Moses, saying, 2 “Speak to the people of Israel and say to them, When either a man or a woman makes a special vow, the vow of a Nazirite,  to separate himself to the Lord, 3 he shall separate himself from wine and strong drink. He shall drink no vinegar made from wine or strong drink and shall not drink any juice of grapes or eat grapes, fresh or dried. 4 All the days of his separation  he shall eat nothing that is produced by the grapevine, not even the seeds or the skins.
5 “All the days of his vow of separation, no razor shall touch his head. Until the time is completed for which he separates himself to the Lord, he shall be holy. He shall let the locks of hair of his head grow long.
6 “All the days that he separates himself to the Lord he shall not go near a dead body. 7 Not even for his father or for his mother, for brother or sister, if they die, shall he make himself unclean, because his separation to God is on his head. 8 All the days of his separation he is holy to the Lord.
9 “And if any man dies very suddenly beside him and he defiles his consecrated head, then he shall shave his head on the day of his cleansing; on the seventh day he shall shave it. 10 On the eighth day he shall bring two turtledoves or two pigeons to the priest to the entrance of the tent of meeting, 11 and the priest shall offer one for a sin offering and the other for a burnt offering, and make atonement for him, because he sinned by reason of the dead body. And he shall consecrate his head that same day 12 and separate himself to the Lord for the days of his separation and bring a male lamb a year old for a guilt offering. But the previous period shall be void, because his separation was defiled. (ESV)