 He authored the Khal al-Na’lain, which Ibn ‘Arabi would later write a commentary on.Ibn Barrajan (d. 1141), who a student and friend of Ibn al-‘Arif, lived and taught in Seville but was originally from North Africa, has been called the Ghazali of the West.Ibn Barrajan and Ibn al-‘Arif were both tried for heresy because their views conflicted with those of the Almoravids in power; however, Ibn Barrajan appears to have been more active in using Sufism as a means of challenging Quranic scholars and jurists.