Visiting a mosque is allowed only between prayers ; visitors must wear long trousers and take off their shoes ; women must cover their heads ; no photos ; no loud talk is allowed . No references to other religions are allowed ( no crosses on necklaces , no cross gestures etc. Visiting a mosque is allowed only between prayers ; visitors are required to wear long trousers and not to wear shoes , women must cover their heads ; visitors are not allowed to interrupt praying Muslims , especially by taking photos of them ; no loud talk is allowed ; and no references to other religions are allowed ( no crosses on necklaces , no cross gestures etc. ) Similar rules apply to mosques in Malaysia , where larger mosques that are also tourist attractions ( such as the Masjid Negara ) provide robes and headscarves for visitors who are deemed inappropriately attired .