Historically, the most important religious institution in Iran has been the mosque. In towns and cities, congregational prayers, as well as prayers and rites associated with religious observances and important phases in Muslim life, took place in mosques. Primarily an urban phenomenon, mosques did not exist in most Iranian villages.