 He also performed the Hajj in Mecca.One purpose of his travel is said to have been education and meeting with scholars of other lands.He composed one of his best known works "Homāy o Homāyun" in Baghdad.