In the hierarchy of Islamic legal literature, texts are generally divided into three categories:
In Islamic scholarship, a Sharh (commentary) expands upon a concise Matn (primary text) to clarify complicated legal rulings, modern practical issues, and linguistic nuances.