Ahmad was born into the ruling family of the Bengal Sultanate, during the reign of his father Jalaluddin Muhammad Shah in 1419. They belonged to the Ganesha dynasty, and Ahmad's grandfather was Raja Ganesha, a Bengali Hindu. Ahmad's father had become a Muslim in 1415 and so Ahmad was born a Bengali Muslim.[1]