{"id":223,"date":"2026-02-09T18:24:00","date_gmt":"2026-02-09T18:24:00","guid":{"rendered":"https:\/\/smartapp.co.uk\/blog\/?p=223"},"modified":"2026-08-20T18:28:29","modified_gmt":"2026-08-20T18:28:29","slug":"why-rule-based-systems-alone-cant-handle-sharia-compliance-and-where-llms-fit-in","status":"publish","type":"post","link":"https:\/\/smartapp.co.uk\/blog\/why-rule-based-systems-alone-cant-handle-sharia-compliance-and-where-llms-fit-in\/","title":{"rendered":"Why rule-based systems alone can&#8217;t handle Sharia compliance,  and where LLMs fit in"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Global Islamic finance assets are approaching $6 trillion, with the LSEG-ICD 2025 report projecting the industry will reach $9.7 trillion by 2029. Yet most Sharia compliance tools are still doing what they did a decade ago: running transactions through if\/then checklists.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Screen for riba. Check debt ratios. Exclude haram sectors. Done.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That works &#8211;  until it doesn\u2019t.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s what I mean.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AAOIFI has issued over 60 Sharia standards, and these are living documents. Standard 62 on Sukuk alone is set to reshape how sukuk are structured globally, pushing the market from asset-based towards asset-backed models with enforceable ownership rights. When a standard like that shifts, every rule in your compliance engine needs to be manually rewritten and retested.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But the real complexity isn\u2019t AAOIFI standards in isolation. It\u2019s what happens when those standards meet individual country regulations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bahrain, Oman, Pakistan, Sudan, and Syria have made AAOIFI Sharia standards a mandatory regulatory requirement. The UAE adopted them through its Higher Sharia Authority and Central Bank. Jordan and Yemen have followed. Saudi Arabia uses AAOIFI as a voluntary benchmark for best practice, not a binding requirement. Nigeria\u2019s Financial Reporting Council announced in late 2025 that it is formally integrating AAOIFI standards into its reporting framework. And Malaysia \u2014 the world\u2019s largest sukuk market \u2014 doesn\u2019t adopt AAOIFI at all, operating instead under its own Securities Commission Shariah Advisory Council framework, which diverges from AAOIFI in meaningful ways.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So a sukuk originated in Bahrain, distributed to investors in Saudi Arabia, with underlying assets in the UK, must satisfy AAOIFI standards, the local regulatory overlay of each jurisdiction involved, and potentially UK financial regulations \u2014 simultaneously.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A rule-based system hardcodes one regulatory framework. When the transaction crosses a border, the rules either break or produce false confidence \u2014 which is worse.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And that\u2019s just the quantitative side.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AAOIFI\u2019s financial screening criteria,  riba-bearing debt below 30% of market capitalisation, non-permissible income under 5% of total revenue,  are well-suited to rule-based systems. Those are binary checks, and automation handles them well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But compliance also involves reviewing contracts, fatwa opinions, and Sharia board rulings where meaning lives in context, intent, and often Arabic linguistic nuance. A Murabaha contract clause that appears compliant on the surface may carry structural implications that only become clear when read in full context against the relevant AAOIFI standard. Rule-based keyword matching cannot do this.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then there\u2019s the pace of innovation. Tokenised sukuk are emerging rapidly. DeFi-based Sharia-compliant products are being developed. Novel Ijarah structures are being adapted for digital platforms. A rule-based system can only evaluate what it has been explicitly programmed to recognise. It cannot reason about a financial instrument it has never seen before.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">So where do LLMs fit in?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, contextual document analysis. LLMs can read and interpret contracts, offering opinions, and Sharia board rulings in both Arabic and English \u2014 understanding intent and structure against AAOIFI standards, not just scanning for keywords.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Second, multi-jurisdictional reasoning. An LLM can evaluate a single transaction against AAOIFI standards and the specific regulatory requirements of each country involved &#8211; Bahrain\u2019s mandatory adoption, Saudi Arabia\u2019s benchmark approach, Malaysia\u2019s independent framework,  and surface exactly where requirements conflict or diverge.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Third,  and this is the one I find most compelling &#8211;  reasoning about novel instruments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Islamic jurisprudence has a concept called Qiyas: reasoning by analogy. When scholars encounter a new situation not directly addressed in the primary sources, they draw parallels to established rulings based on shared underlying characteristics. It is one of the four foundational sources of Sunni Islamic law.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is remarkably close to how LLMs reason. They don\u2019t look up answers in a table. They identify patterns, draw connections, and generate assessments based on the body of knowledge they\u2019ve been trained on. When a new financial product emerges,  say, a tokenised Ijarah structure on a blockchain &#8211;  an LLM can reason about it by analogy to established AAOIFI standards on Ijarah, flagging the novel elements that need scholarly attention.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AI performing Qiyas. There\u2019s a certain elegance in that.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">But here\u2019s the important caveat.<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">LLMs are not here to replace Sharia scholars. The role of Ijtihad i.e.  independent legal reasoning by qualified scholars,  is fundamental to Islamic jurisprudence and cannot be automated away. Nor should it be.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The right model is hybrid. Rule-based systems handle the hard quantitative screens: AAOIFI financial ratios, sector exclusions, the binary checks that don\u2019t require interpretation. LLMs handle the qualitative layer: document analysis, cross-jurisdictional comparison, and preliminary assessment of novel structures against established standards.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The LLM acts as a first-pass analyst. It surfaces issues, drafts preliminary assessments, and presents Sharia scholars with a structured view of the complexity,  so they can focus their expertise where it matters most, on the genuinely difficult rulings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The best compliance systems have always combined automated checks with human judgement layers. The technology changes. The principle doesn\u2019t.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019d love to hear from Sharia scholars, compliance professionals, and fintech builders working in this space. Where do you see the biggest gaps in current compliance tooling? And what\u2019s your view on AI\u2019s role in supporting &#8211; not replacing &#8211; scholarly judgement?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Global Islamic finance assets are approaching $6 trillion, with the LSEG-ICD 2025 report projecting the industry will reach $9.7 trillion by 2029. Yet most Sharia compliance tools are still doing what they did a&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":226,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[10,11,12],"class_list":["post-223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","tag-ai","tag-artificial-intelligence","tag-technology"],"_links":{"self":[{"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/posts\/223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":1,"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":227,"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/posts\/223\/revisions\/227"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/media\/226"}],"wp:attachment":[{"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartapp.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}