Numerous ethnographic and archaeological researches revealed that this madrasah was built with the financial support of Dost Alyam. This well-known person of that time, worked at the court of Muhammad Rahimhan II as a lawyer. The building was small and was like an ordinary rectangle, decorated with corner towers.
Today the madrasah is a shop that sells a variety of wood products. In close proximity are a great many monuments dating from the Middle Ages.