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

What is the ruling on praying in congregation at the mosque?

Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
 
Congregational prayer (Salat al-Jama‘ah) is a communal obligation (Fard Kifayah) for resident men regarding the performance of the prescribed (obligatory) prayers. For men, praying in congregation at the mosque is better than praying elsewhere, such as at home. On the authority of Abdullah bin Umar, the Messenger of Allah ﷺ said: 'Prayer in congregation is twenty-seven degrees more excellent than the prayer of a person alone' (Reported by Bukhari & Muslim). Furthermore, on the authority of Abu Hurayrah, the Messenger of Allah ﷺ said: 'Shall I not tell you that by which Allah erases sins and raises ranks?' They said, 'Of course, O Messenger of Allah.' He said: 'Performing wudu thoroughly despite difficulties, taking many steps toward the mosques, and waiting for the next prayer after the prayer; that is your Ribat (steadfastness)' (Narrated by Muslim).
 
As for a woman, her praying in congregation at home is better for her than in the mosque, according to the saying of our Master the Prophet ﷺ: 'Do not prevent your women from attending the mosques, but their homes are better for them' (Narrated by Abu Dawood). Young boys should be encouraged to attend the mosques and congregational prayers so they may become accustomed to them. And Allah the Exalted knows best.

What are the Sunnahs and etiquettes related to the slaughtering of an animal?

 

 
In the Name of Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
 
1-Avoid terrifying the animal before it is slaughtered.
 
2-Do not slaughter the animal in front of others of its kind.
 
3-Offer water to the animal before the sacrifice.
 
4-Sharpen the knife thoroughly prior to slaughtering to ensure the cut is made as quickly and cleanly as possible. This is in accordance with the statement of our Master, the Prophet (peace and blessings be upon him): "Indeed, Allah, the Almighty and Majestic, has prescribed excellence (Ihsan) in all things. So when you kill, kill well; and when you slaughter, slaughter well. Let each of you sharpen his blade, and let him put his sacrificial animal at ease." (Narrated by Muslim)
 
Do not begin skinning the carcass until you are absolutely certain that the animal has completely passed away.
 
Slaughter cattle, sheep, and goats while they are lying down on their left side, facing the Qiblah (direction of prayer). Leave the right leg untied so the animal can move it, helping it rest more easily during its final moments. For camels, however, the preferred method (Nahr) is to slaughter them while they are standing up, with their left knee tied. And Allah the Almighty Knows Best.

When does the time for Udhiyah begin?

 
In the Name of Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
 
The permissible timeframe for Udhiyah (sacrificial offering) begins on the day of Eid al-Adha—the 10th of Dhul-Hijjah—once the sun has risen and a period of time sufficient to perform two brief prayer units (Rak'ahs) and two short sermons (Khutbahs) has passed. This window remains open until the sun sets on the final day of Tashreeq, which is the 13th of Dhul-Hijjah.
 
Our Master, the Messenger of Allah (peace and blessings be upon him), said: "Every valley of Mina is a place of sacrifice, and slaughtering may be done throughout all the days of Tashreeq." (Narrated by Al-Bayhaqi and Ibn Hibban)
 
The days of Tashreeq refer to the 11th, 12th, and 13th of Dhul-Hijjah.
 
The most virtuous time to perform the sacrifice is immediately after concluding the Eid prayer, based on the statement of the Prophet (peace and blessings be upon him): "The first thing we do on this day of ours is to pray, then we return and offer our sacrifice. Whoever does that has acted in accordance with our Sunnah (tradition), and whoever slaughters before that, it is merely meat he has provided for his family; it has nothing to do with the ritual sacrifice." (Reported by Al-Bukhari and Muslim)
 
What is meant here is an estimation of time rather than the actual performance of the prayer itself, as our Master, the Messenger of Allah (peace and blessings be upon him), used to offer the Eid al-Adha prayer immediately after sunrise.
 
The sacrifice is valid if performed at any time during these designated days, whether by day or by night, though slaughtering at night is considered disliked (Makruh). And Allah the Almighty Knows Best.

Is it permissible to sacrifice imported livestock (Such as Romanian, Australian, etc.)?

 

Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
 
As long as the sheep meets the prescribed Sharia age and is free from disqualifying defects, it is valid for sacrifice regardless of its country of origin. Therefore, it is permissible to offer sacrifices from various sources, such as: Romanian, Australian, Spanish, Indian, Sudanese, local (Baladi) livestock, and others. And Allah the Almighty knows best.