Bab al-Sheikh (Arabic: باب الشيخ, romanized: The Gate of the Sheikh) is an old neighborhood in the Rusafa side of Baghdad, Iraq.
[3] In 1534 Baghdad was conquered by the Ottoman Empire, Suleiman the Magnificent ordered a dome be built over al-Gilani's mausoleum.
[5] During the Ottoman Empire period, Bab al-Sheikh became a prominent safe spot for people fleeing the government.
[6] Around 1831, when Ali Riza Pasha conquered Baghdad, representing the Ottoman Sultan's will, and took it back from the Mamluk Dynasty, some of Dawud Pasha's supporters went to hiding in Bab al-Sheikh, including Islamic scholar Mahmud al-Alusi, who was then interceded by the area's Mufti to work at al-Qadiriyya Madrasa.
After repressing them, the Wali accused the shrine's preacher, Sayyid Muhammad Amin al-Wa’iz, of being among the instigators of the uprisings.
[9] Midhat Pasha then focused on arresting the demonstrators of Bab al-Sheikh who eventually got drafted into the Ottoman military.
Due to this, the Baghdad Municipality was obligated to follow the advice of Iraqi architect Rifat Chadirji who didn't approve of old areas in Bab al-Sheikh being blindly given away for the sake of development.
[15] During the 2003 US-led invasion of Iraq, Bab al-Sheikh, similar to a lot of areas in Baghdad, saw a major decline in the medical, social, and job sectors.
During the COVID-19 pandemic, the mosque was forced to close down until it was reopened for Ramadan in 2021 to let in visitors to break fast and perform tarawih.