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

What is the ruling on making up missed prayers during prohibited times?

 

Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
 
It is permissible to make up (qada’) missed prayers at any time, even during the periods when prayer is generally prohibited. The prayers that are forbidden and considered invalid during these times are 'absolute voluntary prayers' (nafl mutlaq)—which have no specific cause—and voluntary prayers whose cause follows the prayer itself, such as the Sunnah of entering Ihram or the Sunnah of the Istikharah prayer. Furthermore, no prayer is considered disliked (makruh) during these prohibited times when performed within the Meccan Sanctuary (Makkah al-Mukarramah).
 
It is stated in Bushra al-Karim (Vol.1/P.181), one of the Shafi’i texts: 'It is not forbidden to perform prayers that have a cause that is not delayed (i.e., the cause is preceding), such as making up a missed prayer (fa’itah)—even if it was a voluntary one—and the funeral prayer (janazah); or a cause that is simultaneous, such as the prayer for rain (istisqa’) or the eclipse prayer (kusuf)... and the Sunnah of wudu, the greeting of the mosque (tahiyyat al-masjid), the Sunnah of circumambulation (tawaf), the Sunnah of arrival, and the prostrations of recitation (tilawah) or thankfulness (shukr). These mentioned prayers and their like are not forbidden provided that one does not specifically intend (ta'ammud) to perform them during the disliked time because it is a disliked time. If one does so intentionally, it becomes forbidden, even if it is a mandatory makeup prayer that is due immediately; because in that case, one is acting in defiance of the Sharia. This is in contrast to when one does not specifically seek out that time, even if the prayer happens to fall within it, or if one seeks it for another purpose—such as delaying a funeral prayer to that time so that a larger number of people may pray over the deceased; in such cases, it is permissible and valid... And it is forbidden to perform prayers with no cause at all, like absolute nafl, or those with a delayed cause, such as the Istikharah prayer, the prayer for Ihram, the prayer for a need (hajah), the prayer before leaving the house, or the prayer before execution; because their causes occur after the prayer itself.' And Allah the Exalted knows best."

What is the ruling on someone who combines two prayers as an early combination (jam‘ taqdīm), and then arrives at his place of residence during the time of the second prayer — is he obligated to repeat it?

All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Whoever combines Ẓuhr and ‘Aṣr while traveling — that is, before he has reached the built-up boundaries of his hometown [upon returning] — his combination (jam‘) of the two prayers remains valid, even if he arrives at his place of residence before the time for the second prayer has actually begun. This is because the combination was already validly completed with its proper conditions fulfilled, and he is not obligated to repeat the second prayer [upon arrival].
A traveler is permitted to make use of the concessions of shortening (qaṣr) and combining (jam‘) prayers once the distance of travel reaches (81 km) or more, provided that his journey is a permissible one, and that he begins shortening and combining only after actually setting out on the journey and passing beyond the built-up limits of the city in which he resides. And Allah, the Exalted, knows best.

What is the ruling on combining (jam‘) and shortening (qaṣr) prayers when travel is repeated on a daily basis?

All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
A traveler is permitted to avail himself of the concessions of shortening and combining prayers once the distance of his journey reaches (81 km) or more. This is on condition that his journey is a permissible one, and that he begins shortening and combining only after setting out and passing beyond the built-up limits of the city in which he resides, or beyond the administrative boundaries of the area where he lives.
Accordingly, if the distance between one's workplace and one's place of residence reaches the distance upon which the concession of combining and shortening depends, then combining and shortening are permissible once he leaves the built-up area, even if this travel is repeated on a daily basis.
Ash-Shirbīnī (raḥimahullāh) said: "It is permissible to combine Ẓuhr and ‘Aṣr, either as an early combination (taqdīm) in the time of the first, or as a delayed combination (ta'khīr) in the time of the second; and likewise Maghrib and ‘Ishā' — either early, in the time of the first, or delayed, in the time of the second — during a long, permissible journey, in following [the Prophet's practice]. As for the delayed combination, it is established in the two Ṣaḥīḥs from the ḥadīth of Anas and Ibn ‘Umar (raḍiyallāhu ‘anhum). As for the early combination, Ibn Ḥibbān and al-Bayhaqī graded it ṣaḥīḥ from the ḥadīth of Mu‘ādh, and at-Tirmidhī graded it ḥasan." [Quoted with slight abridgment from Mughnī al-Muḥtāj, Vol.1/p.529]
The conditions for combining and shortening have already been explained in Fatwa No. 14 and Fatwa No. 842. And Allah, the Exalted, knows best.

Is it permissible to use unscented petroleum jelly (Vaseline) during ‘Umrah, in order to prevent skin chafing or irritation?

All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
According to the Shāfi‘ī school, it is permissible for someone in the state of iḥrām to use oils and creams free of perfume/fragrance on parts of the body other than the head and beard, for a genuine medical need — such as preventing skin chafing or irritation. However, applying them to the head or beard remains unlawful.
Shaykh al-Islām, Imam an-Nawawī (raḥimahullāh), says in al-Majmū‘ (Vol.7/P.279): "Oils are of two types: the first is an oil that is neither perfumed itself nor contains any perfume — such as olive oil, sesame oil, ghee, butter, walnut oil, almond oil, and similar oils. The use of this type is not unlawful anywhere on the body, except on the head and beard — where its use is unlawful without any disagreement [among the scholars]." And Allah, the Exalted, knows best.