Numbers 6:6

6 All the days that they separate themselves to the Lord they shall not go near a corpse.