This is a philosophical treatise on the foundations of Islamic law, written by Ibn Rushd (Averroes), who died in 595 AH, to clarify the relationship between philosophical inquiry and religious texts, and to establish that there is no contradiction between soundly transmitted knowledge and clear reason. In it, he addresses the Islamic legal ruling on philosophical inquiry and the use of logic and demonstration, discusses the issue of interpretation and its parameters, and distinguishes between the methods of those who employ demonstration, dialectic, and rhetoric, and what is permissible to disseminate to the public. He also refutes al-Ghazali's accusations of heresy against philosophers regarding the eternity of the world, God's knowledge of particulars, and the resurrection of bodies, affirming that wisdom and Islamic law are like two sisters, nurtured from the same source.