It is located in front of the north-eastern corner of Madrasah. The Madrasah was built with the money of Dost Alam, a jurist at the court of Khiva's Khan Muhammed Rahimkhan II. Mostly jurists and lawyers were trained at the Madrasah. It is a small one-storey building, rectangular when viewed from above, with guldasta towers on the corners and elongated in transverse direction with respect to the central north-south axis. Khudaybergen Haji supervised the construction and Kalandar Kochim was the foreman. Presently the Madrasah houses a woodcarving shop.