 Prince Baab and his brothers were apparently trained by a "mubaligh" (Islamic scholar) and a military expert in which they gained an understanding of the sciences of religion as well as warfare.According to the later chronicle of Naïdah, he was the foster son of the Sultan of Bacan.Since boyhood he also accompanied his father, following him in his temporary exile to Goa in 1545-1546.