Muslim world
Ibn Tufail (Abubacer) and Ibn al-Nafis were pioneers of the philosophical novel. Ibn Tufail wrote the first Arabic novel Hayy ibn Yaqdhan (Philosophus Autodidactus) as a response to Al-Ghazali's The Incoherence of the Philosophers, and then Ibn al-Nafis also wrote a novel Theologus Autodidactus as a response to Ibn Tufail's Philosophus Autodidactus. Both of these narratives had protagonists (Hayy in Philosophus Autodidactus and Kamil in Theologus Autodidactus) who were autodidactic feral children living in seclusion on a desert island, both being the earliest examples of a desert island story. However, while Hayy lives alone with animals on the desert island for the rest of the story in Philosophus Autodidactus, the story of Kamil extends beyond the desert island setting in Theologus Autodidactus, developing into the earliest known coming of age plot and eventually becoming the first example of a science fiction novel.

Q: Who wrote Theologus Autodidactus?
Ibn al-Nafis