The mosque with a winter dome premise and summer aivan on wooden columns was built to Dorus-Siadat mausoleum between 19th and 20th centuries. Madrasah of Dorun-Siadat could be there in the past. In national tradition the mausoleum and mosque are called Hazreti-Imam. It is probably connected with the fact that there were reburied remains of the known Islamic figure of the 8th century Hazret-Imam Bagdadi, brought from Iran by Amir Temur's order. Another version says - Hazreti's name can be connected with the known collector of hadises Abu Muhammad Abdaa ibn Nasr al-Keshi whose name is mentioned on the carved door installed there in the 19th century.