#HalachaYomi OC 531:7 If mourner’s 7th day of mourning falls on Shabat before Yom Tov, permitted to shave on Chol Hamoed.