Why it is famous
The al-Hakim Mosque, also known as al-Anwar, is a mosque in Cairo, Egypt. It is named after al-Ḥākim bi-Amr Allāh, the 6th Fatimid caliph and 16th Ismāʿīlī Imam. Construction of the mosque was originally started by Caliph al-ʿAziz, the son of al-Muʿizz and the father of al-Ḥākim, in 990 CE. It was completed in 1013 by al-Ḥākim, which is why it is named after him.
About text: Wikipedia (CC BY-SA 4.0), shortened and lightly edited.
One of the largest Fatimid mosques in Cairo. It was originally decreed in 990 by the famously eccentric caliph Al-Hakim bi-Amr Allah ("Ruler by God's Command") who, among other things, prohibited eating grapes or playing chess. Increasingly paranoid towards the end of his reign, he disappeared without a trace at age 36. The mosque has been used as a prison, a warehouse and an elementary school before being restored (or, rather, rebuilt) as a mosque in 1980.