Matniyoz devonbegi Madrassah (1871)

It is located in front of the eastern walls of Muhammad Rahimkhan Madrasah. It was erected by Muhammad Rahimkhan II's finance minister (devan begi) Muhammad Niyaz. The Madrasah is rectangular, oriented along the longitudinal axis in west-east direction. The main facade, which faces Muhammad Rahimkhan Madrasah is traditional: a high portal with a pentahedral niche in the centre with guldastas on the corners. The portal is decorated with majolica; guldasta domes are covered with small green bricks, and the foundations, with blue, white and green bricks in geometric patterns. The Madrasah consists of 10 hujras, darskhana, winter and summer mosques.