Sheikh Abd al-Samad Esfahani was a noted holy man in Ilkhanid Iran who died at the end of the 13th century (1299AD).
In the early 14th century (1308) the Il-Khanid Vizier Zain al-Din Mastari built the tomb and mosque and dedicated it to his master Sheikh Abdolsamad
The Sheikh Abdolsamad Mosque in Natanz Iran
"The center of the façade is composed as a triple arcade, behind the central arch of which there is a minaret with an inscription dated 725/1324-25. Another portal on the eastern end of the façade provides entry to the complex by way of a sunken narrow corridor. An inscription on this portal reveals that the building is a mosque built by Zayn al-Din Mastari in 704/ 1304-5."
The Sheikh Abdolsamad is an important example of Persian architecture. The mosque incorporates Khawrazmshahi and IlKhanid design elements,
"As mentioned before like the Khawrazmshahi porticoes the porticoes built by Ilkhanid architects are higher than Seljuk ones. In other words compared to the height of the portico the entrance is larger. Meanwhile in order to engross the size of the portico two columns are set at the sides of the porticoes at the facing. An example of such architecture can be found in the tomb of Sheikh Abdolsamad in Natanz . The ceiling of Khawrazmshahi portico is arched and ribbed and differ from that used by Ilkhanid masons."