Ibn al-Nafis later wrote another novel, Theologus Autodidactus, as a response to Ibn Tufail's Philosophus Autodidactus, defending some of al-Ghazali's views.