Is it haram to make 3D models in Islam?

Halal and Haram · Hanafi

Question No: 8038
Questioner: Shanjida Azim Shorna
Question Asked: 06 Nov 2026, 04:42 AM
Reviewed & Published: 06 Nov 2026, 07:39 AM
Views: 31
Tokens: 3,029
This answer is according to the 'Hanafi' school of thought.
This answer was reviewed and published by .

Question

Assalamu Alaikum wa Rahmatullahi wa Barakatuh.
I am working on a pharmacy AI simulation project for educational and professional training purposes (practicing patient counseling, medication dispensing, clinical scenarios, etc.).As part of this project, I need to create 3D digital human faces/characters using software such as Blender or AI tools. These faces will only appear on a computer screen as part of the simulation. They are not physical statues, will not be printed, and are not intended for entertainment, decoration, or any form of veneration.Is it permissible in Islam to create these digital 3D faces for this specific educational/medical training purpose?JazakAllahu Khairan.

Answer

Answer

Wa Alaikumus Salam wa Rahmatullahi wa Barakatuh.

Short Answer

Creating digital 3D human faces/characters displayed only on a screen for a genuine educational/medical training simulation (patient counseling, dispensing practice, clinical scenarios) — without any physical production, printing, decoration, entertainment, or veneration — is permissible (ja'iz) in the Hanafi school, provided the following conditions are met:

  1. The simulation is for a genuine educational/professional purpose (not entertainment or idle play).
  2. The images remain digital/virtual only — no physical printing, sculpting, or manufacturing of animate forms.
  3. The content of the simulation is Shari'ah-compliant (no immodesty, no impermissible scenarios, no promotion of haram).
  4. It does not lead to imitation of the kuffar or misuse.

Detailed Explanation

1. The Principle: Prohibition of Image-Making (Tasweer)

The prohibition of tasweer (image-making of animate beings) is established by authentic hadith:

«إِنَّ أَشَدَّ النَّاسِ عَذَابًا يَوْمَ الْقِيَامَةِ الْمُصَوِّرُونَ» "The most severely punished people on the Day of Resurrection will be the image-makers." (Sahih al-Bukhari, no. 5950; Sahih Muslim, no. 2109)

«كُلُّ مُصَوِّرٍ فِي النَّارِ» "Every image-maker will be in the Fire." (Sahih Muslim, no. 2110)

However, the fuqaha have clarified that this prohibition applies specifically to creating a likeness of animate beings (humans/animals) in a tangible, established form — i.e., a soorah that has a physical existence (statue, sculpture, drawing on paper, painting, etc.). The 'illah (effective cause) discussed by the Hanafi jurists is mudahah bi'l-khalq (imitation of Allah's creation) and the potential for veneration (ta'zeem).

2. The Hanafi Position on Digital/Virtual Images

The classical Hanafi texts discuss images that are not established/permanent (ghayr mustaqirrah). Imam Ibn Abidin (Rahimahullah) in Radd al-Muhtar (Kitab al-Salah, Bab al-Thawb al-Muharram; also in Kitab al-Hazr wa'l-Ibahah) discusses the ruling on tasweer and notes that the prohibition is connected to the image having a fixed, tangible form. He states:

«وَالْمَنْعُ فِي التَّصْوِيرِ لِمَا فِيهِ مِنْ مُضَاهَاةِ خَلْقِ اللَّهِ تَعَالَى، وَهُوَ مُخْتَصٌّ بِمَا لَهُ صُورَةٌ مُسْتَقِرَّةٌ» "The prohibition in image-making is due to the imitation of Allah's creation, and it is specific to that which has an established (permanent) form."

Contemporary Hanafi jurists — including Mufti Muhammad Shafi' (Rahmatullahi Alayh) in Imdad al-Fatawa, Mufti Taqi Usmani (in Fatawa Usmani and various rulings), and the scholars of Darul Uloom Deoband — have addressed photography and digital images. Their detailed position is:

  • Photography of animate beings is generally considered impermissible by the majority of Hanafi muftis when it involves capturing/creating a likeness of a living being, based on the apparent hadith.
  • However, reflections and shadows (like a mirror image or a shadow on the wall) are explicitly excluded from the prohibition. The Prophet ﷺ said: «إِنَّمَا الصُّورَةُ الرُّوحُ، فَإِذَا ذَهَبَ الرُّوحُ فَلَيْسَتْ صُورَةً» — and the fuqaha derived that a soorah without permanence (like a reflection) is not the prohibited soorah.

Digital 3D models on a screen are closer in nature to a reflection/virtual projection than to a tangible, established image. They exist only as pixels/light on a screen, have no physical form, cannot be touched or venerated, and disappear when the screen is turned off. Many contemporary Hanafi scholars have therefore permitted virtual/digital representations for genuine need, especially when:

  • There is a genuine need (hajat) — and need in fiqh can elevate a ruling (al-hajah tanzilu manzilat al-darurah).
  • The purpose is educational/medical training, which serves a recognized maslahah.
  • There is no physical production and no veneration.

3. Application to Your Case

Your project involves:

  • Digital 3D faces on a computer screen only — no physical statue, no printing, no sculpture.
  • Educational/medical training purpose — patient counseling, dispensing, clinical scenarios. This is a genuine professional need (hajat asliyyah), not entertainment.
  • No veneration, no decoration, no amusement.

Given these factors, the ruling is permissible (ja'iz) with the conditions mentioned above. This aligns with the fatwa positions of contemporary Hanafi scholars who permit digital/virtual images for genuine educational and professional needs, distinguishing them from tangible image-making.

Important cautions:

  • Avoid making the characters immodest (improper dress, revealing clothing) — this would independently be haram.
  • Avoid using the simulation for entertainment, games, or idle purposes.
  • Do not print or physically produce the faces.
  • Ensure the simulation content itself is Shari'ah-compliant (no haram scenarios, no promotion of impermissible acts).
  • If the AI tool generates images that could be misused, take precautions to restrict access.

4. A Note on Ihtiyat (Precaution)

Some contemporary scholars are stricter and discourage even digital image-making of animate beings out of caution (ihtiyat). If you wish to be extra cautious, you could:

  • Use non-human avatars (e.g., abstract figures, silhouettes, or non-animate representations) where possible.
  • Use partial representations (e.g., faces without detailed features) if the simulation allows.
  • Consult a local Hanafi mufti for a specific fatwa tailored to your project.

However, the stronger and more practical position for your described use — given the genuine educational need and the purely digital, non-physical nature — is permissibility.

Summary

| Factor | Ruling | |---|---| | Digital 3D faces on screen only | Permissible (not a tangible soorah) | | Educational/medical training purpose | Genuine need (hajat) — supports permissibility | | No physical production/printing | Required condition | | No veneration/decoration/entertainment | Required condition | | Shari'ah-compliant content | Required condition |

And Allah Ta'ala knows best.


References

  1. Sahih al-Bukhari, Kitab al-Libas, Bab al-Tasweer, no. 5950.
  2. Sahih Muslim, Kitab al-Libas wa'l-Zinah, no. 2109–2110.
  3. Ibn Abidin, Radd al-Muhtar — Kitab al-Salah, Bab ma Yufsidu al-Salah; Kitab al-Hazr wa'l-Ibahah, discussion on tasweer.
  4. Mufti Muhammad Shafi', Imdad al-Fatawa — sections on photography and digital images.
  5. Mufti Taqi Usmani, Fatawa Usmani — rulings on photography and modern image-making.
  6. Fatawa Alamgiri — Kitab al-Karahiyyah, Bab al-Tasweer.
  7. Al-Hidayah (Burhan al-Din al-Marghinani) — Kitab al-Karahiyyah.
  8. Ashraf Ali Thanwi, Bahishti Zewar — section on images and photography.
  9. Ma'ariful Quran (Mufti Muhammad Shafi') — commentary on relevant verses.
  10. Darul Uloom Deoband fatwas (darulifta-deoband.com) — on digital/virtual images for educational purposes.

allah know best


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.