In The Book of the Lawful and the Unlawful, Abu amid al-Ghazali aims to teach his readers firstly the theory of what is lawful and what is unlawful and how to deal with dubious or ambiguous issues, and secondly how to apply the knowledge they have gained to their everyday lives.