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.