Articles

Artificial Intelligence: An Assistant or a Mufti?
Author : Dr. Mufti Sa`eid Farhan
Date Added : 21-07-2025

Artificial Intelligence: An Assistant or a Mufti?

 

All praise is to Allah, who exalts whom He wills and abases whom He wills. Peace and blessings be upon the one who came with guidance, upon his pious family and companions, and upon those who follow his path until the Day of Judgment.

Among Allah’s mercies to creation is that He made the divine law He ordained for mankind suitable and guiding for every time and place. Islamic law necessitates the existence of scholars—the people of knowledge—to issue fatwas (religious rulings) and clarify the rulings of people’s dealings in all aspects of life. Allah says {what means}: "And We sent not before you except men to whom We revealed [Our message]. So ask the people of knowledge if you do not know." [An-Nahl/43]

As a result of progress, development, and astounding scientific leaps, humanity has reached what is now known as artificial intelligence (AI). The best definition of AI is that of Philip Janssen, who defined it as: "The science and engineering of machines with capabilities considered intelligent by human intelligence standards." [1]

Humans have reached a stage where machines serve them in all aspects of life—even in matters specific to religion and worship. This advancement has extended to the point where AI is being used to issue fatwas and provide religious guidance, effectively replacing human scholars in some cases.

The AI revolution has entered nearly every field—education, medicine, sports, commerce, and even religion. We now witness massive strides in AI applications, including its use in issuing Islamic legal rulings (fatwas).

Before discussing the ruling on using AI for fatwas, we must clarify the reality of fatwa-giving. Issuing a fatwa is not merely judging an action or incident; it is broader than that and consists of four pillars:

  1. The Mufti (the scholar issuing the fatwa)
  2. The Mustafti (the one asking the fatwa)
  3. The Incident in Question
  4. The Ruling

Each of these has specific conditions and aspects. Sometimes, the first three pillars exist, but the ruling does not—either because the issue requires further research or because the mufti refrains from answering for a valid reason. This is something no machine, no matter how advanced, can assess.

The Use of AI in Fatwas is of Two Types:

First: Using AI as a tool for the mufti, such as in drafting fatwas, researching juristic opinions from different schools of thought, or finding similar cases. This is akin to a mufti referencing books and specialized sources. This use is permissible and even beneficial, as it assists the mufti in research—provided it does not replace his direct engagement with primary sources.

Second: Using AI as a replacement for the mufti, entirely removing the human scholar and substituting him with a machine. This is where disagreement arises—between those who permit it and those who forbid it.

To resolve this disagreement, we must review the conditions of a mufti. Without delving into the arguments of those who permit or prohibit AI fatwas, the key issue is highlighting the obstacles preventing AI from validly issuing fatwas, derived from the conditions scholars have established for a mufti.

Obstacles Preventing AI from Issuing Fatwas:

1. A Foundational Obstacle (Usooli)
Scholars unanimously agree that the first condition for a mufti is that he must be:

  • A legally accountable (mukallaf) Muslim
  • Trustworthy (thiqqah)
  • Free from immorality and dishonorable traits
  • Sound in reasoning, precise in deduction, and alert

As Imam An-Nawawi stated:
"The mufti must be a legally accountable Muslim, trustworthy, safeguarded from sinful behavior and moral failings, intellectually competent, sound in mind, firm in thought, correct in reasoning and deduction, and vigilant." [2]

AI does not meet these conditions—it is not accountable (mukallaf), nor is it even a living being.

2. A Jurisprudential Obstacle (Ijtihadi)
Custom (urf) is a critical factor in fatwas. Sometimes, custom is the deciding factor between two equally valid opinions. Understanding people’s psychology, social habits, and societal norms is essential—something AI cannot grasp.

Imam Ahmad ibn Hanbal said:
*"A man should not appoint himself for fatwa-giving unless he has five qualities:

  1. Sincere intention (otherwise, his speech lacks divine light)
  2. Patience, dignity, and composure
  3. Strength in knowledge and understanding
  4. Self-sufficiency (or people will exploit him)
  5. Knowledge of people (their customs and conditions)"* [3]

How can a machine, no matter how data-filled, comprehend this?

3. A Spiritual Obstruction (Sulooki)
There is a fundamental difference between a machine and its creator—the Muslim scholar who fears Allah and seeks divine aid.

Imam Ash-Shatibi said:
"Knowledge was first in the hearts of men, then transferred to books—but the keys to it remain in the hands of scholars. A true scholar must know the foundations of his field, articulate its meanings, and understand its implications." [4]

He also emphasized:
"Books alone do not benefit a student without the guidance of scholars—this is an observable reality." [5]

A mufti connected to Allah, conscious of Him, undoubtedly receives divine support and openings (futuhat) in his rulings.

Imam Ash-Shams Ar-Ramli said:
*"Allah says {what means}: "And fear Allah, and Allah will teach you." (Al-Baqarah/282). It has been said: ‘No servant succeeds except by Allah’s grant.’ When this is rare, Allah mentions it only once in the Qur’an: "And my success is not but through Allah." (Hud/88). If you understand and act, Allah promises that whoever fears Him, He will grant light to his heart to comprehend and discern truth from falsehood: "O believers, if you fear Allah, He will grant you a criterion." (Al-Anfal/29). Thus, through taqwa (God-consciousness), knowledge increases."* [6]

How can such divine inspiration descend upon a lifeless machine?

Additional Considerations:

  • The duty of da’wah (calling to Islam) and personal advice from a mufti to the questioner plays a crucial role in the latter’s adherence and behavior—something AI cannot replicate.
  • Practical experiments have shown AI’s failure in correctly answering religious questions, especially in high-stakes rulings like divorce, where error is unacceptable.

We ask Allah, the Most High, to guide us to truth and correctness. Our final prayer is all praise is due to Allah, Lord of the worlds.


References:
[1] Mark Coeckelbergh, AI Ethics, trans. Hiba Abdulaziz Ghannam, p. 51.
[2] An-Nawawi, Adab al-Fatwa wal-Mufti wal-Mustafti, p. 19.
[3] Abu Ya’la, Al-‘Uddah fi Usul al-Fiqh, Vol. 5, p. 1599.
[4] Ash-Shatibi, Al-Muwafaqat, Vol. 1, p. 140.
[5] Ibid., Vol. 1, p. 148.
[6] Ash-Shams Ar-Ramli, Ghayat al-Bayan Sharh Zubd Ibn Raslan, p. 4.

 

The published article reflects the opinion of its author

Article Number [ Previous | Next ]

Read for Author




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

Should one who doesn`t perform prayer out of laziness make it up later, and how should he/she do so?

All perfect praise be to Allah,The Lord of The Worlds                                                                                                                                                              He/she is obliged to make up missed prayers by offering with each obligatory prayer another one, and if he/she offers two, then it is better. And Allah Knows Best.

What is the ruling on performing the standing (qiyām) and bowing (rukū‘) portions of the prayer normally, while performing the prostration (sujūd) seated due to knee pain?

All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
If performing sujūd (prostration) in prayer causes the worshipper pain in the knees, then it is permissible for him to perform it through gesture (īmā') while seated, since Allah, Glorified and Exalted is He, has lifted hardship from His servants. On the authority of ‘Imrān ibn Ḥuṣayn (raḍiyallāhu ‘anh), he said: "I suffered from hemorrhoids, so I asked the Prophet ﷺ about [how to perform] the prayer, and he said: 'Pray standing; if you are unable, then sitting; and if you are unable, then on your side.'" [Ṣaḥīḥ al-Bukhārī]
If the valid excuse later subsides, the worshipper is then obligated to perform the prayer with all its pillars and conditions fully observed — including standing, rukū‘ (bowing), and sujūd (prostration). And Allah, the Exalted, knows best.

What is the ruling on combining more than one intention in the prayer, such as combining the *sunnah* of wuḍūʾ with the pre-Dhuhr *sunnah*, or combining the *sunnah* of greeting the mosque (*taḥiyyat al-masjid*) with the pre-Dhuhr *sunnah*?

All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Combining two intentions in a single act of worship, which some jurists call the “overlapping of acts of worship”, has several cases and precise rules. These can be consulted in the books of legal maxims, such as al-Manthūr fī al-Qawāʿid al-Fiqhiyyah by al-Zarkashī and al-Ashbāh wa’l-Naẓāʾir by al-Suyūṭī. Among the most important of these rules:
First: If all of the acts of worship that one wishes to combine under one intention are obligatory, the intentions do not overlap. An example is combining the intention of the obligatory ʿAṣr prayer with that of the obligatory Dhuhr prayer. The intentions do not overlap in this case.
Second: If the two acts are specified supererogatory prayers (nawāfil muqayyadah) that are aimed at in themselves because of a particular time, occasion, or cause, or if they are an obligatory prayer and a specified supererogatory prayer, the intentions again do not overlap. An example is the Duha prayer, which may not be combined with, for instance, the regular sunnah of Dhuhr.
It is stated in Bushrā al-Karīm: “Whatever is not, in meaning, an absolute voluntary prayer, such as the Duha sunnah… is not subsumed under another. Rather, if he intends something else along with it… the prayer is not validly entered. This is because combining two obligations, two specified supererogatory prayers, or an obligation and a specified supererogatory prayer invalidates the prayer in cases not built upon overlapping, as ritual purification (ṭahārah) is.”
Third: If the two acts are absolute voluntary prayers (nawāfil muṭlaqah), or one of them is, where the texts of the Sharīʿah show that the aim of the voluntary act is to fill the time with worship, then overlapping of intentions is permissible. An example is the obligatory Dhuhr prayer together with the sunnah of greeting the mosque (taḥiyyat al-masjid). And Allah Almighty knows best.

What is the ruling on discharging one's zakāh obligation through the provision of a specific benefit (manfa‘ah) — such as performing a surgical operation for a patient, or providing housing to a tenant, and counting the value of this service as zakāh?

All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is obligatory to pay zakāh from the actual asset (‘ayn al-māl) upon which zakāh is due, except in the case of zakāh on trade goods ('urūḍ at-tijārah), which is paid based on their monetary value. In all cases, zakāh must be given in the form of tamlīk (a full transfer of ownership), based on the words of Allah, the Mighty and Majestic (which mean): "Zakāh expenditures are only for the poor and for the needy, and for those employed to collect [zakāh], and for bringing hearts together [for Islam], and for freeing captives [or slaves], and for those in debt, and for the cause of Allah, and for the [stranded] traveler — an obligation [imposed] by Allah. And Allah is Knowing and Wise" [at-Tawbah/60]. The letter "lām" (لِ) in this verse — as in "lil-fuqarā'" ("for the poor") — indicates possession/ownership (lām al-milk).
It is not permissible to fulfill one's zakāh obligation by providing a benefit or service (manfa‘ah) — such as housing, education, or medical treatment — in place of the zakāh itself. This is because zakāh must be paid as wealth (māl) that is transferred into the ownership of the poor recipient, whereas such services are intangible benefits that are not, in themselves, capable of being formally transferred in ownership (ghayr qābilah lit-tamlīk). And Allah, the Exalted, knows best.