Numbers 6:6-8

6 “ ‘Throughout the period of their dedication to the LORD, the Nazirite must not go near a dead body.
7 Even if their own father or mother or brother or sister dies, they must not make themselves ceremonially unclean on account of them, because the symbol of their dedication to God is on their head.
8 Throughout the period of their dedication, they are consecrated to the LORD.