Numbers 6:6. "He shall not come near to a dead body"

Being under the same roof as a dead body makes a person impure. A Nazir is cautioned not to enter a house which has a dead body in it.