Some types of mosques were designed for the prayer of a large number of Muslims during the Muslim holidays of Kurban Hayit and Ramadan Hayit, celebrated twice a year, where a very large number of residents of the city and village would gather. The Yar Muhammad Devon (Sayid-Ota) Mosque was built in Khiva in the 18th century. It is located behind the Mausoleum of Said Allauddin and its eastern wall is adjacent to the Abdurasulboy Madrasah. The mosque’s architectural composition combines a domed hall and a high, flat aiwan. In plan, the Yar Muhammad Devon Mosque in Khiva looks like an offset rectangle with two sides tapering to the west; this may be because later additions were made to the main building in the form of a cube.