The Palestinian militant group Hamas Thursday banned men from working in hair salons or beauty parlors that cater to women , part of a campaign to enforce a stricter interpretation of Muslim law .