The mosques are open to everyone. You will have to leave your shoes at the entrance, women in most mosques are required to cover their heads with a scarf and naked parts of their legs and shoulders. If you don’t have anything with you, they will give you some scarves at the entrance for free. Silence is required inside the mosques, it is suggested that you shouldn’t laugh loudly inside as this may offend people praying. Most of the mosques are closed to visits at prayer times.