The eastern one (on the left) connects to a "mosque of the dead" or funerary mosque (Jama' el-Gnaiz), a space used for funerary rites and prayers around the bodies of the deceased before they are buried. (This space is attached but separate from the rest of the mosque in order to protect the cleanliness and sanctity of the main prayer space.) Both this funerary space and the main prayer hall can also be accessed by smaller secondary entrances from the street on the eastern side of the building.[7]