The mosque's main entrance is to the north, aligned with the mihrab (see below) at the opposite end of the building and leading into the courtyard.[1] The entrance is doubled: to the left (east) of the main gate is another gate.