They are used as centers for the collection and distribution of zakat (charitable contributions). Many pilgrims visit their local mosques when they depart for and return from the hajj (pilgrimage to Mecca) and umrah (minor pilgrimage). The dead are placed before the mihrab for funerary prayers. Mosques