Numbers 6:7

7 Even if their father or mother, brother or sister, should die, they may not defile themselves; because their consecration to God is upon the head.

Numbers 6:7 In-Context

5 All the days of their nazirite vow no razor shall come upon the head; until the time is completed for which they separate themselves to the Lord, they shall be holy; they shall let the locks of the head grow long.
6 All the days that they separate themselves to the Lord they shall not go near a corpse.
7 Even if their father or mother, brother or sister, should die, they may not defile themselves; because their consecration to God is upon the head.
8 All their days as nazirites they are holy to the Lord.
9 If someone dies very suddenly nearby, defiling the consecrated head, then they shall shave the head on the day of their cleansing; on the seventh day they shall shave it.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.