Madrasah Miyon Hazrat, or Miyon Akhat, was built at the end of the 18th century. in the southern part of the city. Miyon Akhat was from Peshawar (Pakistan), from where, as his great-grandson Abdurahman told us, having met the merchant Abdusamadbai, he and his family moved to Kokand. Soon Akhat, having become famous for his knowledge of theology and having earned authority among the local population, became an adviser to the khan. Having received an inheritance from Pakistan, he used his own funds to build a madrasah, which has survived to this day.
In terms of this complex three—courtyard complex: two courtyards are located on the east - west axis, the third adjoins them from the south. The main entrance to the madrasah — on the western side of the southern courtyard — is highlighted by a portal-domed darvozahona with wooden gates decorated with carved ornaments by local master Iskander Khoja. Residential buildings are tightly adjacent to the madrasah on all sides. Residential chambers have been built along the perimeter of the southern courtyard (32 X 26 m), only in the southern part a multi-column square mosque with a flat beam ceiling has been erected. Right here. in the southeastern corner, a small minaret has been preserved. The remaining courtyards—the eastern (35X20 m) and western (23X11 m) — are also surrounded by hujras. An aivan (now lost) was erected in the eastern part of the madrasah, and a study room was built in the western part. Here you can observe various structural types of ceilings: vaults, domes and flat beams. The facades of the madrasah with exposed burnt brick masonry are decorated with a rhythmic row of pointed shallow niches. The interiors are plastered with ganch.public buildings, left without plaster.
The division of the complex into a system of courtyards may have been caused by the grouping of sciences taught here, where, in addition to theology, they studied literature, mathematics, astronomy, history, etc. The outstanding Kokand resident, Muhammad Amin Khoja, the poet Mu Kimi, studied in this madrasah.