Articles

Utilizing Artificial Intelligence in Issuing Fatwas
Author : Researcher AbdulRahman al-Sharif
Date Added : 26-04-2026

Utilizing Artificial Intelligence in Issuing Fatwas

 

Issuing a fatwa is among the most intricate and consequential functions in Sharia, as it involves the direct clarification of Allah’s rulings regarding the ever-evolving realities of people's lives.

With the acceleration of technological progress and the emergence of Artificial Intelligence (AI) as a tool capable of analyzing texts and accessing data, fundamental questions have surfaced regarding the impact of this technology on the role of the Mufti. These questions explore the extent to which this technology can be utilized in the process of formulating fatwas without compromising Sharia foundations or the methodology of Ijtihad (independent legal reasoning).

The importance of this topic is heightened within the Mufti’s specialization, as they are directly responsible for governing the relationship between sacred texts, contemporary reality, and emerging technological means.

I. AI and its Importance in Scientific and Jurisprudential Research:

Artificial Intelligence is a technical system based on data processing and pattern extraction, enabling software to perform specific cognitive tasks. These technologies are described as supporting tools that assist a researcher in gaining a comprehensive grasp of scholarly material.

Currently, these systems can process vast amounts of text in a remarkably short time, offering precise indexing, comparisons between texts and opinions, and the ability to track evidence within its primary sources. Furthermore, AI helps link specific legal issues to their precedents and parallels across various schools of thought (Madhahib). It also facilitates the retrieval of legal maxims (Qawa’id) and principles (Usul) relevant to the issue at hand, providing the researcher with a broader vision and a more organized methodology [1].

II. The Unique Nature of Fatwa [2]:

A fatwa is distinguished from other scholarly activities by being the application of a Sharia ruling to a specific reality, necessitating a deep consideration of differences in circumstances, individuals, and environments, as well as an evaluation of consequences (Ma’alat), public interests (Masalih), and potential harms (Mafasid).

For this reason, scholars have stipulated several conditions for a Mufti [3], including:

1. Legal capacity (Taklif) and being a Muslim.

2. Piety (Wara’) and being free from transgressions or behaviors that undermine personal integrity (Muru’ah).

3. Profound understanding of sacred texts and their evidences.

4. Soundness of mind.

5. Understanding of contemporary reality and custom (’Urf).

6. Proficiency in the objectives of Sharia (Maqasid) and the scales of legal preference (Tarjih).

7. The ability to bear the responsibility and consequences of the religious verdict.

These characteristics make the fatwa a deeply human and intellectual endeavor that cannot be reduced to an automated response. Consequently, any machine or software is excluded from the actual domain of "issuing" a fatwa. However, this does not preclude a Mufti from benefiting from AI.

III. Areas Where a Mufti Can Benefit from AI [4]:

A Mufti can employ AI in fields that serve their work without influencing the essence of the fatwa, such as:

1. Gathering jurisprudential opinions and tracking the positions of scholars rapidly.

2. Indexing Sharia evidences and linking them to specific issues.

3. Assisting in defining the point of contention (Tahrir Mahall al-Niza’) in recurring cases.

4. Archiving previous fatwas and analyzing general trends.

5. Supporting institutional work within Fatwa Houses and Fiqh Academies.

Ultimately, it serves as a tool to aid Ijtihad, not as the Ijtihad itself.

IV. Risks of Using AI in Fatwa Issuance [5]:

Among the most serious risks facing a person seeking religious guidance (Mustafti) when using AI are:

1. Relying on automated answers without scholarly verification.

2. The absence of verification regarding the Mufti’s qualifications.

3. Misunderstanding resulting from brevity or taking texts out of context.

4. Overlooking the specific condition of the questioner and the unique context of the fatwa.

5. Confusing a formal fatwa with general education or guidance.

6. The exploitation of AI to spread extremist fatwas and ideologies.

This places a double responsibility on the Mufti to correct public awareness and clarify the difference between fatwa of Sharia and a mere technical response.

V. The Sharia Ruling from the Mufti’s Specialized Perspective:

From a foundational standpoint:

• AI is not a "Sharia Mufti," and a fatwa cannot be attributed to it.

• Its use is commendable only if it is subject to the Mufti's direct supervision.

• Religious responsibility is entirely shouldered by the Mufti, not the tool.

Consequently, it is not permissible for a Mufti to delegate the process of issuing fatwas to a machine, nor to relay a ruling without understanding its context and impact.

VI. Professional Guidelines for the Mufti in Dealing with AI [6]:

A Mufti should adhere to several guidelines, most importantly:

1. AI must serve the process of Ijtihad, not generate it.

2. All outputs must undergo a critical and scholarly review.

3. Adherence to the approved jurisprudential methodology of the Mufti’s respective institution.

4. Avoid using it in major contemporary calamities (Nawazil) except to understand the data of the case.

5. Clarifying to the questioner that the fatwa is a product of human Ijtihad and that AI was merely a tool.

In conclusion, the role of Artificial Intelligence remains within the framework of an auxiliary tool, not a substitute for the qualification of Ijtihad. The deep understanding of texts, the verification of the legal basis (Tahqiq al-Manat), the application of rulings to specific incidents, and the consideration of Sharia objectives and realistic factors are tasks that can only be undertaken by a qualified jurist who combines grounded knowledge with precise insight into reality.

AI lacks an understanding of higher objectives (Maqasid) and value-based perception; it operates within the data it is fed without distinguishing between the outweighed (Marjuh) and the preponderant (Rajih) opinions. Therefore, it is not fit for Ijtihad or fatwa. The proper jurisprudential approach to AI should be functional and critical—it should neither be rejected absolutely nor relied upon entirely. And Allah the Almighty knows best.

 

[1] Dr. Yasser Ahmed Ahmed Al-Fiqi, The Impact of Using Artificial Intelligence on the Development of the Contemporary Juridical Mind.

Available at: https://mkwn.journals.ekb.eg/article_433907.html

[2] See: Muhammad Taqi Usmani, The Principles and Etiquettes of Fatwa Issuance (Usul al-Iftaa wa Adabuhu), p. 8 and onwards.

[3] See: Imam al-Nawawi, The Etiquettes of Fatwa, the Mufti, and the Questioner (Adab al-Fatwa wa al-Mufti wa al-Mustafti).

[4] See: Hanan Mohammed bin Hussein Jastaniah, The Sharia Perspective on Using Generative Artificial Intelligence in Deriving Rulings and Sharia Fatwas (2025); and Dr. Maryam Ahmed Ali Al-Kandari, The Ruling on Using AI Programs (ChatGPT) in Fatwa, Journal of Sharia Sciences, 2025.

[5] See: Osama Abdel Alim Al-Sheikh, Rationalizing Fatwa in Light of Digital Challenges.

[6] The General Secretariat for Fatwa Authorities Worldwide, The Charter of Fatwa in Light of Digital Transformation.

Article Number [ Previous | Next ]




Comments


Captcha


Warning: this window is not dedicated to receive religious questions, but to comment on topics published for the benefit of the site administrators—and not for publication. We are pleased to receive religious questions in the section "Send Your Question". So we apologize to readers for not answering any questions through this window of "Comments" for the sake of work organization. Thank you.




Summarized Fatawaa

If a traveler settles or a sick person recovers while fasting, is it permissible for them to break their fast?

● If a sick person starts the day fasting and then recovers during the day, they must complete their fast.
● If a traveler starts the day fasting and then settles (returns or stops traveling) during the day, they must also complete their fast.
● It is forbidden for both of them to break their fast because the concession (rukhsah) is no longer valid once its reason disappears.

What is the ruling of Islamic Law on a fictitious marriage for the purpose of obtaining citizenship?

All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
There is no such thing in our noble sharīʿah as a "nominal" or "fictitious" marriage or divorce. Marriage and divorce are among the sacred ordinances of Allah, and it is not permissible to manipulate them or use them as a stratagem to obtain worldly gains.
The foundational purpose of a marriage contract is the permanence and continuity of the relationship between the spouses — to establish a family, and to bring forth righteous offspring. So sacred is this bond that Allah the Almighty Himself described it as a solemn covenant (mīthāq ghalīẓ), saying {what means}: "And if you wish to replace one wife with another and you have given one of them a great amount of wealth, do not take any of it back. Would you take it in injustice and manifest sin? And how could you take it while you have gone in unto each other and they have taken from you a solemn covenant?" [Al-Nisāʾ/ 20–21]
Accordingly, it is not permissible to resort to manipulation and deception in contracts that Allah, Mighty and Majestic, has described as a "solemn covenant" — all for the sake of material and worldly benefit. Marriage is built upon permanence and does not admit of a fixed time limit. If a time limit is stipulated in the contract, the contract is rendered invalid by the consensus of the jurists. Similarly, marriage is impermissible when there exists a mutual, concealed intention to limit its duration — even if no time limit is explicitly mentioned in the contract — for this constitutes a form of unlawful circumvention of the sharīʿah. This is to say nothing of the lying and deception that such conduct involves, the prohibition of which needs no elaboration. Lying, deception, and fraud for the purpose of obtaining worldly gains are among the gravest of sins.
If, however, the marriage contract is first concluded in a valid sharʿī manner and then registered civilly, it is sound and fully valid. And Allah the Almighty knows best.

What is the ruling on performing the night prayer (*qiyām al-layl*) between the first and second adhān of Fajr? And which is better: delaying the prayer until shortly before the Fajr adhān, or performing it earlier than that?

 

All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
The time for night prayer (qiyām al-layl) begins after the Maghrib prayer and lasts until the second adhān of Fajr. The best time for it is the last third of the night, and best of all are the fourth and fifth sixths of the night. If the night is divided into two halves, the latter half is better.
Whoever intends to pray at night is encouraged to delay the Witr until he has prayed the night prayer. If he knows that he will not wake up, it is better for him to pray and perform Witr before sleeping, so that he does not miss both the night prayer and the Witr.
It is stated in Mughnī al-Muḥtāj (Vpl.1/p.462): “I say: The voluntary prayer of the night, that is, the absolute voluntary prayer (al-nafl al-muṭlaq), is better than the absolute voluntary prayer of the day, because of the report in Muslim: ‘The best prayer after the obligatory prayer is the night prayer.’ In another narration of his: ‘In the night there is an hour that no Muslim man meets while asking Allah for any good of this world and the next except that He gives it to him, and that is every night.’ It is also because the night is a time of heedlessness. I restricted the voluntary prayer to the absolute kind following the commentator, although what the ḥadīth and the underlying meaning require is that the night rawātib be preferred over the day rawātib, since the jurists preferred the two rakʿahs of Fajr over everything except Witr. The middle of the night is better than its two ends if it is divided into thirds, because heedlessness is greatest then and worship is hardest. If he wishes to pray during some third, the best is the fourth and fifth sixths, based on the ḥadīth in the two Ṣaḥīḥs: ‘The most beloved prayer to Allah the Exalted is the prayer of Dāwūd: he would sleep half the night, stand for a third of it, and sleep for a sixth.’ Then the latter part is better than the first if he divides it into two halves, because of the saying of Allah the Exalted: ‘And in the hours before dawn they would ask forgiveness’ [al-Dhāriyāt: 18], and the report of the two Shaykhs: ‘Our Lord, Blessed and Exalted, descends,’ meaning His command descends, ‘to the lowest heaven when the last third of the night remains, and says: Who calls upon Me, that I may answer him? Who asks of Me, that I may give him? Who seeks My forgiveness, that I may forgive him?’”
It is also stated in ʿUmdat al-Sālik (p. 60): “It is better to perform it [the Witr] immediately after the sunnah of ʿIshāʾ, unless he has tahajjud, in which case it is better to delay it so that he performs Witr after it. If he performs Witr and then wishes to pray tahajjud, he prays two rakʿahs at a time and does not repeat the Witr, nor does he need to cancel it with a single rakʿah before the tahajjud. It is recommended that he not deliberately pray after it.”
Qiyām al-layl is a term applied to any prayer performed at night. Tahajjud, on the other hand, refers to the night prayer that follows sleep, whether it is prayed after Maghrib or after ʿIshāʾ, or the prayer performed after ʿIshāʾ without sleep. On this basis, the Witr is also called tahajjud, since it is only prayed after ʿIshāʾ.
It is stated in al-Majmūʿ (Vol.4/p.84): “The sound position, as stated in al-Umm and al-Mukhtaṣar, is that the Witr is called tahajjud.”
It is stated in Nihāyat al-Zayn (Vol.1/p.114): “Among the absolute voluntary prayers is qiyām al-layl. If it is performed after sleep, even during the time of Maghrib and after having prayed ʿIshāʾ early (taqdīman), it is called tahajjud.”
And it is stated in Ḥāshiyat al-Bujayrimī ʿalā al-Khaṭīb (Vol.1/p.418): “His statement: ‘(the night prayer)’: the genitive construction (iḍāfah) carries the sense of fī, meaning a prayer in the night. His statement: ‘(it would be more fitting)’: the reason it is more fitting is that the night prayer includes both tahajjud and other prayers.” And Allah Almighty knows best.

What is the ruling of Islamic Law on participating in the prize draws (raffles) that commercial stores hold for their customers?

Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
There is no objection to participating in the prize draws (raffles) that commercial stores hold for their customers, provided that the buyer's intention in purchasing is not merely to enter the competition without any need for what is bought — rather, the purchase must be genuinely intended for the item itself, and one must not pay more than the item's fair market price. This is because paying an amount above the market price would effectively be paying a fee to enter the prize draw, which would render it a form of gambling (qimār).
These prizes are, in essence, gifts that businesses offer through a random drawing (qur'ah) to those who purchase from them, as a means of encouraging sales, without the customer bearing any additional monetary cost for participation. So long as the aforementioned conditions are met, there is no objection to benefiting from the prize offered by the store, as it is considered a lawful prize from the viewpoint of Islamic Law.
It is stated in the resolutions of the "Jordanian Iftaa' Board" (Resolution No. 47), in the context of outlining the conditions for permissible prizes: "The price of the ticket [or item purchased] for the sake of the prize must not exceed its original price, so that there is no payment of money in exchange for participation in the draw." And Allah, the Most High, knows best.