Leviticus 21:11-12

21:11 He must not go where there is any dead person; he must not defile himself even for his father and his mother. 21:12 He must not go out from the sanctuary and must not profane the sanctuary of his God, because the dedication of the anointing oil of his God is on him. I am the Lord.