When a Muslim dies, a funeral prayer is normally held. It is held outdoors in a courtyard or square close to the mosque. The prayers have all the worshippers present, including the imam, taking part. During eclipses, mosques will host special prayers called eclipse prayers.