Born in 1833 in the village of Sharip in Verkheuralsk province, Orenburg Governorate (these days in the Uchalinsky District, Republic of Bashkortostan, Russia) to the family of mullah of the local Islamic community.