The mosque is located in the Agholu quarter in Lahij. It was built in 1332 by the Muslim lunar calendar. During the Soviet period, the mosque was used as a storehouse. It was restored in 1987 and turned into a museum.