He observed and studied the agricultural and hydraulic practices in these places with the intention of applying them in al-Andalus.[2] Since he is mentioned as al-Hajj al-Gharnati in Ibn al-'Awwam's treatise on agronomy, it is likely that he made the Hajj at some point.[6]