محاريب maḥārīb) is a niche in the wall of a mosque that indicates the qibla, the direction of the Kaaba in Mecca towards which Muslims should face when praying.
[1][2] It may come from Old South Arabian (possibly Sabaic) 𐩣𐩢𐩧𐩨 mḥrb meaning a certain part of a palace,[3] as well as "part of a temple where 𐩩𐩢𐩧𐩨 tḥrb (a certain type of visions) is obtained,"[4][5] from the root word 𐩢𐩧𐩨 ḥrb "to perform a certain religious ritual (which is compared to combat or fighting and described as an overnight retreat) in the 𐩣𐩢𐩧𐩨 mḥrb of the temple.
"[4][5] It may also possibly be related to Ethiopic ምኵራብ məkʷrab "temple, sanctuary,"[6][7] whose equivalent in Sabaic is 𐩣𐩫𐩧𐩨 mkrb of the same meaning,[4] from the root word 𐩫𐩧𐩨 krb "to dedicate" (cognate with Akkadian 𒅗𒊒𒁍 karābu "to bless" and related to Hebrew כְּרוּב kerūḇ "cherub (either of the heavenly creatures that bound the Ark in the inner sanctuary)").
Arab lexicographers traditionally derive the word from the Arabic root ح ر ب (Ḥ-R-B) relating to "war, fighting or anger," (which, though cognate with the South Arabian root,[8] does not however carry any relation to religious rituals) thus leading some to interpret it to mean a "fortress", or "place of battle (with Satan),"[9] the latter due to mihrabs being private prayer chambers.
[10]: 4 The earliest mihrabs generally consisted of a simple stripe of paint or a flat stone panel in the qibla wall.
[2] In the Mosque of the Prophet (Al-Masjid al-Nabawi) in Medina, a large block of stone initially marked the north wall which was oriented towards Jerusalem (the first qibla), but this was moved to the south wall in the second year of the hijra period (2 AH or 624 CE), when the orientation of the qibla was changed towards Mecca.
[2] During the reign of the Umayyad caliph Al-Walid ibn Abd al-Malik (Al-Walid I, r. 705–715), the Mosque of the Prophet was renovated and the governor (wāli) of Medina, Umar ibn Abd al-Aziz, ordered that a niche be made to designate the qibla wall (which identifies the direction of Mecca), which became the first concave mihrab niche.
[11][2] Niches were already a common feature of Late Antique architecture prior to the rise of Islam, either as hollow spaces or to house statues.
It is believed to date from the 8th century, possibly made in northern Syria before being moved by the Abbasids to the Great Mosque of al-Mansur in Baghdad.
[11][2][13]: 29 This mihrab features a combination of Classical or Late Antique motifs, with the niche flanked by two spiral columns and crowned by a scalloped shell-like hood.
The entrance is covered in mosaics "which links to the Byzantium tradition, produced by the craftsmen sent by Emperor Nicephorus II.
[22] There have been other mosques that have mihrabs similar to this that follow the same theme, with scalloped domes that are "concave like a conch or mother of pearl shell.