Islamic law, or shari‘a, has been incorporated into the legal systems of many states. In much of the existing literature, this process is understood as part of the colonial and postcolonial state's attempt to render law legible—that is, codified, standardized, and abstract. In this article, I show how some state actors chose to move in the opposite direction, actively discouraging the transformation of shari‘a into a formal and codified system of law. Using the case of colonial and postcolonial Sudan, I argue that these actors viewed legal legibility as a threat to state power, recognizing the jurisgenerative potential of an informal and uncodified law.