In Islam, a dead person is buried as quickly as possible, and the casket is seldom open. The funeral is generally held outside the mosque, in a prayer room, communal square, or courtyard: the body and those present face Mecca. After the funeral, attendees typically form three lines: Men first, then children, and women last. Following prayers, the body is taken to the cemetery in silence. Some Muslim communities welcome women and children, but not all.