Shah Hamid was born in 1890 in the village of Khalsi in Gobindganj, then Rangpur district (now Gaibandha district) of British India. His father's name was Haji Abdul Gaffar Shah and his mother was Rahima Khatun.