Skip to content
Shariah Agent

Can AI issue a fatwa?

Can AI issue a fatwa? What Dar al-Ifta, the Ja'fari school and the researchers say

No. A fatwa is a ruling by a qualified, accountable human scholar. Egypt's Dar al-Ifta ruled that relying on AI applications to obtain a fatwa is impermissible, while using AI in general is permissible depending on purpose. In the Ja'fari school rulings are followed from a qualified living jurist. AI may help you find and understand what scholars have said. It may not be the scholar.

By HalalScreener ResearchUpdated 5 min read

Short answer: no. Longer answer: no, for reasons that are documented, that come from more than one tradition, and that do not depend on how good the AI gets. Here is the paper trail.

The short version
  1. Dar al-Ifta (Egypt), fatwa 22255: using AI is permissible in principle; relying on AI applications to obtain a fatwa is impermissible.
  2. Dar al-Ifta, January 2026: relying independently on AI to interpret the Quran is forbidden. Explicitly not a rejection of technology.
  3. Ja'fari school: taqlid is of a mujtahid who meets conditions set out in Ayatollah Sistani's Islamic Laws, Ruling 2. Software cannot meet them.
  4. Researchers: comparative studies found AI-generated answers tilted permissive and relied on secondary sources; every published framework calls for human oversight.
  5. What remains open to AI: finding, quoting and organising what scholars have said, and applying rules scholars wrote. That is a lot, and it is not a fatwa.

What a fatwa is

A fatwa is a considered answer to a question of Islamic law given by someone qualified to give it. The qualification is the point. Across traditions the mufti must have the training to derive rulings from the sources, must be trustworthy and accountable, and must engage with the questioner's actual circumstances. A fatwa is not binding like a court judgement, but it carries the weight of the person who issued it, and the questioner relies on that person.

Everything that follows is a consequence of that definition.

Dar al-Ifta's ruling, in its own terms

Dar al-Ifta al-Misriyyah is Egypt's official fatwa body and one of the most-cited Sunni institutions in the world. Its fatwa 22255 addresses the question directly. Three findings:

  • AI as such is permissible. "The use of AI technology is, in principle, permissible," and its ruling "is contingent on the purpose for which it is used": lawful, recommended, obligatory, disliked or prohibited according to that purpose.
  • AI as a source of fatwas is not. "It is impermissible in Islamic law to rely on AI applications to obtain a fatwa."
  • Why. A fatwa must come from a qualified scholar who is legally accountable, honest, trustworthy and knowledgeable; a mufti lacking those requirements "cannot be relied upon in their pronouncements." Current AI tools produce answers that may be correct, incorrect or contradictory to established rulings; they lack sound methodology, knowledge of authoritative sources and the ability to assess their own inputs and conclusions; and rulings that depend on custom change with time, place and circumstance in ways that require human judgement. In the ruling's words, such tools "remain outside the scope of fatwa."

In January 2026 the same institution answered a formal query about using tools such as ChatGPT to explain Quranic verses: relying independently or entirely on AI-generated interpretation is forbidden, because such tools operate through statistical processing without genuine comprehension and expose the text to conjecture and misrepresentation. Coverage noted that the ruling was not a rejection of digital technology, and Egypt has separately explored AI systems to assist human muftis with retrieval and drafting. The line is drawn at authority.

The Ja'fari position

Two routes to the same conclusion

Sunni schools

Sunni institutional practice treats the fatwa as the act of a qualified mufti, and institutions such as Dar al-Ifta have now said explicitly that software cannot stand in that role. Al-Azhar's fatwa centre and Dubai's Islamic Affairs department have been studied using AI to triage and retrieve while humans issue the ruling, which is consistent with the Dar al-Ifta line.

Ja'fari (Shia) school

In the Ja'fari school the layperson follows a mujtahid through taqlid. Ayatollah Sistani's Islamic Laws, Chapter One, Ruling 2, sets conditions for the mujtahid followed, including being of sound mind, of legitimate birth, dutiful, and living at the time taqlid begins, and, where rulings are known to differ, being the most learned. The authority is personal and the relationship is with a living scholar who can be asked again.

Software is not a person and cannot satisfy any of those conditions. An AI's answer on a fiqh question can at most report what a marja' has said; it has no authority of its own, however accurate the report.

The two traditions reason differently, from institutional qualification on one side and personal taqlid on the other, and arrive at the same operational rule: a human rules; software may only report.

What the research found

Academic work in 2025 and 2026 tested the tools rather than theorising about them.

  • A comparative study of AI-generated and human-issued fatawa published by the University of Malaya tested a leading general-purpose model and found a systematic bias toward permissiveness, with the model relying on secondary sources rather than authoritative fatwa collections. Its authors concluded that such programs cannot achieve the status of an Islamic judge.
  • A 2025 paper in a Turkish communication journal on the limits of AI in Islamic religious communication argued that human oversight is necessary to maintain the authenticity of religious verdicts and proposed a framework for integrating AI responsibly.
  • A survey of Islamic chatbots presented at the Muslims in ML workshop at NeurIPS in December 2025 catalogued both the benefit of wider access to religious knowledge and the risk of eroding authority, and set out recommendations for responsible design.

None of this is a surprise given the Dar al-Ifta reasoning: the tools' failure modes are exactly the ones the fatwa anticipated.

What AI may still do, and do well

The rulings fence off issuing fatwas. They leave a wide field open:

  • Retrieval. Find the fatwa, the standard, the ruling, and quote it with its source. This is a reference service, and the better it is grounded, the more useful.
  • Explanation. Put a ruling in plain language, with the original alongside so the reader can check the paraphrase.
  • Rule application. Where scholars have published a rule in checkable form, such as a financial screening threshold, software may apply it at scale. HalalScreener does this for stocks, ETFs and crypto; it applies rules, it does not write them, and it does not certify.
  • Preparation. Help a person assemble the facts and the relevant positions before asking a scholar.
  • Triage inside institutions. Route routine questions to existing answers and send novel ones to a mufti, as Egyptian and Emirati bodies have been studied doing.

The difference between these and a fatwa is who holds the authority at the end. For how to tell whether a tool respects that line, see how to check an AI Islamic answer. For how a tool can be built to stay inside it, see grounded AI for Islamic questions.

What would change our answer

A formal statement from a major institution in either tradition recognising an automated system as competent to issue rulings. We know of none, we do not expect one, and we will record it here with its source if it appears.

Questions people ask

Has any major institution ruled on AI and fatwas?
Yes. Egypt's Dar al-Ifta al-Misriyyah, in fatwa 22255, ruled that it is impermissible in Islamic law to rely on AI applications to obtain a fatwa, while stating that the use of AI technology is in principle permissible and its ruling depends on the purpose. In January 2026 it separately ruled that relying independently on AI to interpret the Quran is forbidden.
What is the reasoning behind the Dar al-Ifta ruling?
A fatwa must come from a qualified scholar who is legally accountable, honest, trustworthy, knowledgeable and able to derive rulings. Current AI tools may give answers that are correct, incorrect or contradictory to established rulings; they lack sound methodology, knowledge of authoritative sources and the ability to assess their own conclusions; and rulings based on custom change with time, place and circumstance in ways that require human judgement.
What is the Shia position?
In the Ja'fari school, a layperson follows rulings through taqlid of a mujtahid who meets stated conditions. Ayatollah Sistani's Islamic Laws, Ruling 2, lists those conditions, including being living at the time taqlid begins and, where rulings differ, being the most learned. Software meets none of them, so an AI answer has no standing as a ruling.
So is it haram to ask an AI an Islamic question?
Dar al-Ifta's ruling distinguishes between using AI, which is permissible in principle, and relying on it to obtain a fatwa, which is not. Using a tool to find what a named scholar has said, then reading or consulting that scholar, sits on the permissible side. Treating the tool's output as the ruling does not.
Could that change if AI improves?
The Dar al-Ifta reasoning rests partly on current tools' limitations and partly on the nature of a fatwa as the act of an accountable human. Better tools would address the first part, not the second. The Ja'fari conditions for taqlid are about the person, not the accuracy of the answer. We will record any new institutional statement here.

Sources

Every figure and ruling on this page links to where it came from. Check them.

  1. Using AI applications to obtain fatwas (fatwa 22255), Dar al-Ifta al-Misriyyah
  2. Resolving family issues: the dilemma of AI-generated fatwas, Dar al-Ifta al-Misriyyah
  3. Egypt's Dar al-Ifta rules AI-based Quran interpretation impermissible, MEA Tech Watch, 28 January 2026
  4. Islamic Laws, Chapter One: Following a Jurist (Taqlid), Office of Ayatollah Sistani
  5. Digital authority and Islamic legal reasoning: a comparative study of AI-generated and human-issued fatawa, University of Malaya
  6. From human scholars to AI fatwas: media, ethics, and the limits of AI in Islamic religious communication, Ibn Haldun University
  7. Chat GPMufti, CSIS
  8. Artificial intelligence on Sunni Islam's fatwa issuance in Dubai and Egypt, Islamic Studies (University of Religions and Denominations)

Be first when this becomes real

A short note when something changes: a new ruling, a live issuance, a tool worth testing. No weekly filler.