The mosque was established in 1371 AD and is one of the famous mosques in Gaza. Ibn Marwan Mosque is located in the Shujaiya neighborhood, on the northeastern edge of Gaza City along Salah al-Din Street. The mosque spans an area of 320 square meters, with Salah al-Din Street bordering it on the eastern side, and a cemetery containing the grave of Sheikh Ali Ibn Marwan on the southern and western sides. This cemetery also bears his name. The mosque dates back to the Mamluk period and is named after Sheikh Ali Ibn Marwan, the owner of the tomb located under the dome attached to the mosque. He passed away in 1315 AD and is believed to be one of the distinguished people from Morocco who settled in Gaza.
The mosque features a wide minaret and a roof covered by nine circular domes, supported by six marble columns adorned with prominent Islamic engravings. The inner courtyard, located on the eastern side of the pulpit, is characterized by intricate decorations and arches. The mosque was first rebuilt and restored in 1325 AD, approximately ten years after the death of Imam Ali Ibn Marwan.
On 10 December 2023, Ibn Marwan Mosque was destroyed during the incursion of Israeli occupation forces into the Shujaiya neighborhood, while the adjacent cemetery was subjected to bulldozing.