section_path: Works/Minor works
section_name: Minor works
paragraph_text: Minor works
  
  From other sources we know of several other works, primarily composed during the time he spent in North Africa and Al-Andalus. His first book, Lubābu l-Muhassal, a commentary on the Islamic theology of Fakhr al-Din al-Razi, was written at the age of 19 under the supervision of his teacher Al-Abili in Tunis. A work on Sufism, Shifā'u l-Sā'il, was composed around 1373 in Fes, Morocco. Whilst at the court of Muhammed V, Sultan of Granada, Ibn Khaldūn composed a work on logic, ʻallaqa li-s-Sulṭān.