The land was owned by a Tatar merchant, Nasarbai Hashalov. The tsarist authorities permitted the construction of a "Muslim house of prayer" on condition that it would not be called a mosque and that its facade would not differ significantly from neighbouring houses.[1] The cupola and minaret were added in 1880. The madrasa dates from 1915.[2]