The said mosque is located at a distance of 200 m. from the tomb of Bayazid to the south of Bastam.
The same comprises of two sections. One is the square courtyard with an altar which is intricately and artistically adorned with a master-piece of plaster works. Sacred phrases, beautifully engraved with plaster can be noted here. The second part differs completely regarding artistic endeavors in comparison with the former altar.
The mosque was constructed in the year 706 AH. Two inscriptions display the name of the founder, date of construction, and date of repair which took place during the reign of Fathali Shah Qajar.