In 893, a mosque was built where the Atiq Mosque of Shiraz today lies. Almost 400 years later, a building was added in the courtyard called “Khudai Khane” or the house of God, used for recitation of Muslim’s holy book, Quran. As the oldest mosque of the city, constant reconstruction was needed and therefore during different periods, and by the order of different rulers, minor and major modifications have been applied to the Masjid. The mosque was enlarged in the 14th century and the iwan was added in the 12th or 13th century.
The mosque is at the end of a courtyard in front of Mausoleum of Shah Cheragh which is in the southeast part of the town. Mausoleum of Mohammad, brother of Ahmad who is buried in Shah Cheragh is also at the walking distance, they both were descendants of the prophet Mohammad. The New Mosque in the same quarter is one few pre-Mongol structures of Shiraz. Originally it was the residential palace of Sa’d Ibn-e Zangi, a brave ruler of Atabakan clan who converted it to a mosque in thanks to his daughter’s restored health. During this period, a poet named Mosleh ed-Din lived in a small house behind the mosque; he took his pen name from his patron and became known as Sa’di.