Among the mud houses, on the street along which the Great Silk Road passed, in the place where today's Tashkent was born, the Friday Mosque of Khoja Ahrar Vali or Jami rises on the hill. According to some sources, the idea of building a mosque began in the 8th century, when the Arabs conquered Zoroastrian Tashkent. At that time the city was called “Chach” and was completely destroyed, there were only ruins around. The Arabs who conquered this land called the city "Shash."
In about 819, Emir Yahya ibn Asad, who took power over this terrain, walking through the Tashkent region with his retinue, stopped near the hill and thought a little, said: “Here we will build our city Madina ash-Shash!”
Turks from the retinue, supported the commander, saying: “The glorious city of Shash will rise here” in the language of the Turks “Madina ash-Shash” sounds like “Shashkent”. Seeing the higher terrain of the hill, Yahya issued a decree on the construction of the first Friday mosque in Tashkent. Thus began the history of the construction of this sacred structure.
The mosque was erected in 1451 at the expense of the capital of Sheikh Ubaydulla Khoja Ahrar, later the mosque will be called in his honor. The building can be seen from a great distance, thanks to its location on a hill. The mosque as if towers over the city, and the brilliance of the domes is visible from afar.
In 1868, a terrible seismic disaster occurs in Tashkent, which leaves the entire city in ruins and destroys the mosque. Judging by some sources, thanks to the funds donated by the third Russian emperor Alexander, the building was restored.
After the arrival of Soviet power, the majestic building was again turned into ruins, and in 1997 it was completely demolished.
Only after 6 years, the mosque was rebuilt in a more modern form. Now it is pleasing to the passers-by and everything also rises on a hill near the Kukeldash Madrasa. Not far away is the Chorsu bazaar, where Master Kaffal used to trade, and a wonderful view of the central trading point of the city of Tashkent opens around. Pilgrims from all over the city gather here and devote themselves to the faith, glorifying the hospitable people of Uzbekistan in prayers.