Ibn Tufail’s 12th-century Arabic philosophical novel, Ḥayy ibn Yaqẓān, follows a boy named Ḥayy who grows up on an island, isolated from humans. He learns languages of animals, studies the stars, and gains knowledge in natural science, philosophy, and religion through exploration. Ḥayy concludes a great creator exists. The novel, highly influential in Islamic philosophy and Enlightenment thinking, presents philosophical and mystical teachings for better understanding. It has inspired various translations and influenced major Enlightenment thinkers like John Locke. Notable for its deep concepts and impact on both Islamic and Western philosophy, Ḥayy ibn Yaqẓān remains a significant literary work.
https://en.wikipedia.org/wiki/Hayy_ibn_Yaqdhan