The mosque located on a medieval caravan road was built at the beginning of the XVII century. It is square in plan and centrally –domed. On the southern wall is a stalactite-tier mehrab (mihrab). A distinguished personality of that time Seyid Yahya Murtuza ordered the construction of the mosque. Being a clergyman, he served as the akhund of the mosque. Under his will, he was buried in the mosque courtyard. Now his tomb is near the mosque entrance.