Al-Rifa'i Mosque (Arabic: مسجد الرفاعى, transliterated also as Al-Rifai, Al-Refai, Al-Refa'i, and named in English the Royal Mosque), located in Midan al-Qal'a, adjacent to the Cairo Citadel. It is the Khedival Mausoleum of the Royal Family of Muhammad Ali Pasha. The building is located opposite the Mosque-Madrassa of Sultan Hassan, which dates from around 1361, and was architecturally conceived as a complement to the older structure. This was part of a vast campaign by the 19th century rulers of Egypt to both associate themselves with the perceived glory of earlier periods in Egypt's Islamic history and modernize the city. The mosque was constructed next to two large public squares and off of several European style boulevards constructed around the same time.
The Al-Rifa'i Mosque was constructed in two phases over the period between 1869 and 1912 when it was finally completed. It was originally commissioned by Hoshiyar Qadin, the mother of the 19th century Khedive Isma'il Pasha to expand and replace the preexisting zawiya (shrine) of the medieval Islamic saint Ahmed al-Rifa'i. The zawiya was a pilgrimage site for locals who believed that the tomb had mystical healing properties. Hoshiyar envisioned a dual purpose for the new structure as a house for Sufi relics and a mausoleum for the royal family of Egypt. Over the course of its construction the architect, design, and purpose were changed.
The original architect was Hussein Fahri Pasha, a distant cousin in the dynasty founded by Muhammad Ali of Egypt in 1803. He died during the first phase of construction, and work was halted after Khedive Isma'il Pasha abdicated in 1880. Hoshiyar Qadin herself died in 1885, and work was not resumed until 1905 when the Khedive, Abbas II of Egypt, ordered its completion. Work was supervised by the Hungarian architect Max Herz, head of the Committee for the Conservation of Arab Monuments in Cairo.
The building itself is a melange of styles taken primarily from the Mamluk period of Egyptian history, including its dome and minaret. The building contains a large prayer hall as well as the shrines of al-Rifa'i and two other local saints, Ali Abi-Shubbak and Yahya al-Ansari.
The mosque is the resting place of Hoshiyar Qadin and her son Isma'il Pasha, as well as other members of Egypt's royal family, including Sultan Hussein Kamel, Sultan and King Fuad I, and King Farouk, whose body was interred here after his death in Rome in 1965. Khedive Tewfik and Khedive Abbas II Hilmi, however, are buried in Qubbat Afandina, a mausoleum built in 1894 in Cairo's Eastern Cemetery, together with other late members of the Muhammad Ali Dynasty.
The mosque served briefly as the resting place of Reza Shah of Iran, who died in exile in the Union of South Africa in 1944, and was returned to Iran after World War II. He was buried in Cairo following the Iranian Revolution of 1979. Part of the burial chamber is currently occupied by Reza Shah's son Mohammad Reza Pahlavi, who died in Cairo in July 1980.