All posts

Sharia + AI: use boundaries in Islamic finance

Context: why this matters now

Large-scale Islamic banks in the Gulf — the tier of Al Rajhi Bank, Dukhan Bank, ADIB, Boubyan Bank, and peers1 — are adopting AI quickly in the 2026 decade: credit scoring, fraud detection, digital banking assistants, document generation, predictive analytics. But every new product enters a funnel that does not exist in conventional banks: sharia board review.

This is not a “ceremonial” review. The board may reject. It may demand fundamental redesign. It may impose explainability conditions on a model that does not explain easily. Anyone building AI for an Islamic bank without understanding these boundaries loses months — or wraps up a product the bank cannot launch.

A note: I am not a sharia scholar. This post is operational notes drawn from readings and conversations with practicing sharia advisors. The final decision in each case belongs to a sharia board accredited at the financial institution. Read this as a map of what to ask, not as a fatwa.

Sharia board approval for AI products

Every large Islamic bank has an internal sharia board (typically 3-7 scholars) that meets periodically (monthly or quarterly) and reviews new products, contracts, and policies. An AI product practically follows a path:

  1. Product presentation to the board — technical document + expected use + training data + risk framework
  2. Board questions — clarification of how the model makes its decision, how it handles errors, how the customer is respected
  3. Submission of a monitoring framework — who monitors model performance, how drift is detected
  4. Written sign-off — with conditions (e.g., “approved for individual consumer credit scoring, not approved for interest-linked products”)

Typical approval timeline: 3-9 months, depending on product complexity and the board’s familiarity with the technology. Technical teams that assume rapid approval often fail.

AAOIFI standards on technology adoption

The Accounting and Auditing Organization for Islamic Financial Institutions (AAOIFI) issues governing sharia standards. In particular:

Banks deploying AI in the absence of an AAOIFI standard specific to AI typically follow general AAOIFI principles plus their own sharia board’s interpretations. Read solutions for banking for depth.

Gharar: low explainability in language models

Gharar (unacceptable ambiguity in a contract or decision) is a foundational sharia concept. A seller who does not know what he is selling — gharar. Insurance without clarity on what is covered — potential gharar.

A large language model making a credit decision without the ability to explain its drivers raises a legitimate gharar question: does the customer (and the bank) understand the basis of a rejection? Can the sharia board verify the decision is free of prohibited bias (such as discrimination by gender, race, sect, or by features that fail the Islamic fairness test)?

Trends we are seeing in 2026:

Riba: feature engineering constraints in credit scoring

Riba (interest) is prohibited. An Islamic bank does not lend at interest — it uses murabaha (cost-plus purchase), ijara (leasing), musharaka (profit-sharing), and mudaraba (capital-source partnership) structures.

This imposes constraints on the credit-scoring model:

Follow AML solutions for banks for operating frameworks.

Sharia RegTech

A new layer of sharia compliance technology is growing:

Use caseDescription2026 adoption status
Sharia transaction screeningDetecting transactions with non-permissible counterparties (alcohol, gambling, weapons, pork companies)Mature
Debt-ratio screening (equity sharia screening)Applying AAOIFI ratio thresholds to investable companiesMature
Sukuk monitoringTracking post-issuance sharia compliance of sukuk (asset-conversion risk, redemption events)Mature
Murabaha and ijara contract generationLLM drafting standard contract templatesEarly
Historical fatwa analysisArabic NLP over historical fatwa corpora to support advisoryEarly, sensitive
Adjudication surface for black-box decisionsExplanation layer on top of model decisions for sharia board reviewGrowing

These are real AI opportunities, because each requires data labeled with Arabic sharia context. A general model does not understand that “alcohol” may be an acceptable — and sometimes mandatory — medical ingredient in certain medical situations, or that “weapons” may be permissible defense commerce. Sharia-aware annotation is decisive.

Generative fatwa risk from LLMs

This is one of the most sensitive topics in 2026. An LLM answering a fiqh question — is this acceptable?

For Islamic banks this means: a banking assistant answering account balance and transaction questions — acceptable. A banking assistant answering “is this product halal?” — requires a sharia board sign-off on the specific logic, or it must be routed to a human advisor.

Acceptable vs problematic use cases

Operational examples, presented as a starting point for discussion with a sharia board:

Use caseInitial assessmentNote
OCR on loan documentsAcceptableNo ruling decision, only text extraction
Transaction classification for accountingAcceptableAdministrative operation, interpretable model
Fraud detection (alerts human for review)AcceptableHuman takes the final decision
Product recommendation (with explanation)Acceptable with conditionsFeatures must be transparent, no discrimination, board sign-off
Automated credit scoring with explanationAcceptable with conditionsExplainability required, feature governance, sign-off
Black-box credit scoringProblematicPotential gharar, redesign with explanation layer
Model using riba interest history as a featureProblematicRequires explicit fatwa
Banking assistant answering product questionsAcceptable with conditionsFiqh guardrails, disclaimer
LLM drafting a murabaha contract templateAcceptable with conditionsHuman legal + sharia review mandatory
Assistant writing a response that includes a fiqh rulingProblematicRefer to a consultant, do not generate
LLM generating a fatwaNot acceptableNo accreditation, risk to bank and customer
Automated sukuk trading interventionAcceptable with conditionsMust screen sukuk compliance, risk limits
Trading prohibited assetsNot acceptableRegardless of technology

Technical compliance: PDPL + sovereign + sharia together

Islamic banks in Saudi Arabia combine three layers of compliance:

An AI deployment that complies with PDPL and SAMA but fails on sharia = not launchable. And vice versa. All three are mandatory requirements, not preferences. Read PDPL compliance.

What Annota8 does

We do not issue sharia rulings. We support Islamic bank customers with a workforce layer that includes:

The fiqh decision remains with the bank’s sharia board. We build the infrastructure that makes their decision safe and well-informed. Browse workforce tiers for details.

What this means for the buyer

Discuss your Islamic banking workload → 30-min session Read solutions for banking

References

Footnotes

  1. Global Finance, “World’s Best Islamic Financial Institutions 2024” — https://gfmag.com/banking/worlds-best-islamic-financial-institutions-2024/ ; TABInsights, “Largest Islamic Banks” — https://tabinsights.com/ab100/largest-islamic-banks

  2. AAOIFI, “SS (38) Online Financial Dealings” (official Shari’ah Standard title) — https://aaoifi.com/ss-38-online-financial-dealings/?lang=en

  3. AAOIFI, “AAOIFI introduces its 100th standard as Governance Standard No. 8 — Central Shari’ah Board” (official announcement, scope = national-level CSBs established by regulators) — https://aaoifi.com/announcement/aaoifi-introduces-its-100th-standard-as-governance-standard-no-8-central-shariah-board-has-been-officially-issued/?lang=en ; AAOIFI, “GSIFI 8 Central Shari’ah Board” — https://aaoifi.com/gsifi-8-central-shariah-board/?lang=en

  4. Dar al-Ifta al-Misriyyah, “Using AI applications to obtain fatwas” (Fatwa #22255, 2 December 2025) — https://www.dar-alifta.org/en/fatwa/details/22255/using-ai-applications-to-obtain-fatwas ; iAfrica, “Egypt’s Dar al-Ifta bans use of AI tools like ChatGPT for interpreting the Quran” (January 2026) — https://iafrica.com/egypts-dar-al-ifta-bans-use-of-ai-tools-like-chatgpt-for-interpreting-the-quran/

  5. Morgan Lewis, “Saudi Arabia Personal Data Protection Law Transition Period Ends September 14, 2024” — https://www.morganlewis.com/pubs/2024/09/saudi-arabia-personal-data-protection-law-transition-period-ends-september-14 ; Akin Gump, “Kingdom of Saudi Arabia Approves Amendments to Personal Data Protection Law” — https://www.akingump.com/en/insights/alerts/kingdom-of-saudi-arabia-approves-amendments-to-personal-data-protection-law-and-confirms-september-2023-effective-date

  6. SAMA, “Cyber Security Framework” (official PDF) — https://www.sama.gov.sa/en-US/RulesInstructions/CyberSecurity/Cyber%20Security%20Framework.pdf ; SAMA Rulebook, “Cyber Security Framework” — https://rulebook.sama.gov.sa/en/cyber-security-framework-3