Ibn Tulun Mosque, or Ahmed Ibn Tulun Mosque, is one of the famous historical mosques in Cairo. It was ordered to be built by Ahmed Ibn Tulun in 263 AH (877 AD) in the city of Al-Qat Al-Rai'i, to be the third congregational mosque in the Islamic capital after the Mosque of Amr Ibn Al-Aas and the Mosque of Al-Askar. The mosque is considered one of the oldest mosques in Egypt thanks to its preservation of its original state. It was built on a rocky hill, and is distinguished by its belt inspired by the Abbasid styles, especially from the Samarra Mosque. Due to its area of about 6.5 acres, it is now in Ahmed Ibn Tulun Square in the Sayyida Zeinab district.