Sayyidina Shihab al-Deen al-Ramly al-Ansari

(His shrine is located in Bab al-Shi’riyya square)

He was known by the name of al-Ramly after al-Ramly village in the town of Quesna in the governorate of al-Monuifyya.

In his early youth, he went to al-Hijaz during the reign of Sultan Qa’it Bey as part of the mission that was dispatched to al-Medina al-Munawarra  to restore al-Masjid al-Nabawwi that was destroyed by a great lightning strike in 886 AH; the ceiling, pulpit, walls, pillars, and doors were all burnt down—nothing remained except the dome above the Prophet’sﷺ tomb.

The Sultan and his retinue wept when news of the mosque’s destruction reached them. The Sultan immediately ordered the dispatch of a mission headed by Shams al-Deen Mohammed Ibn al-Zamman to go to al-Medina al-Munawarra. He sent with him a group of builders, carpenters, marble workers and other laborers.

Shihab al-Deen remained in al-Hijaz for some time and did not return with the mission that was sent to restore the Prophet’sﷺ mosque. During his stay in al-Hijaz, he studied jurisprudence under the scholars and jurists of al-Hijaz.

He then went to Levant where he stayed for some time and met with scholars of religion and muftis who greatly benefitted him. He completed his training and gained experience after which time he returned to Cairo during the reign of Sultan Qunsuwa al-Ghouri. al-Ramly’s fame extended to all horizons, especially among Shafi’i’s scholars. Consequently, the Sultan charged him with the task of teaching at the Nasiriyya school. al-Ramly taught at al-Azhar in the Ottoman era.

He was described by many scholars and the righteous as “the righteous imam, the last of the verifiers of Egypt, al-Hijaz, and Levant.”

He died in 957 AH.