 Like many medieval western Islamic mosques, its "qibla" (direction of prayer) is not aligned with the true direction of Mecca but faces mostly south, following an older tradition based on a "hadith".The mosque can be entered via four horseshoe arch doorways.Inside is a rectangular courtyard ("sahn") surrounded by galleries on three sides and by the prayer hall to the south/southeast.