The Juyushi Mosque () was built by the vizier Badr al-Jamali who was Amir al-Juyush () for the Fatimid Caliphate. The mosque was completed in 478 AH/1085 CE under the patronage of Imam-Caliph al-Mustansir Billah. It was built on an end of the Mokattam to ensure a view of Cairo. In the Ottoman period, the mosque was probably used by Sufis as a monastery. Features The foundation of the mosque has an inscription which identifies the structure as a mazar (). The mosque has one dome and a minaret. There is a small courtyard in the center of the mosque. The entrance is a door to the minaret situated besides the prayer hall. There are 2 rooms, one on each side of the minaret. The minaret is a rectangular shaft with a second receding story. On this, there is a dome similar to the one above the mihrab. The Minaret is embellished with muqarnas cornice. Over the entrance there is an inscription which begins with Quranic verses 72:18 & 9:108 And the places of worship are for God, so invoke not any one along with God. Never stand thou forth therein. There is a mosque whose foundation was laid from the first day on piety; it is more worthy of the standing forth therein. In it are men who love to be purified; and God loves those who make themselves pure. The inscription further continues: The construction of ...Mashad...ordered by...Imam al-Mustansir....may the blessing of God be upon him ...his Forefathers, the pure Imams.....make his word prevail and deceive his enemies....as he seeks the good pleasure of God..Moharram 478. The mihrab is elaborate with stucco carving with spandrels upon the arch. On the exterior of mihrab is inscription of verses 24:11, 24:36, 24:37 and 10:23. Those who brought forward the lie are a body among yourselves, think it not to be an evil to you, On the contrary, it is good for you. To every man among them of the sin that he earned. And to him who took on himself the lead among them, will be a penalty grievous. In houses, which God has permitted to be raised to honor; for the celebration, in them, of His name. In them is He glorified in the mornings and in the evenings. By men whom neither traffic nor merchandise can divert from the Remembrance of God, establishing Prayer or giving Charity: Their