Is It Halal to Create a Website for Generating Medical Leave Certificates?
Question
I want to make a website on which user can create medical leave certificate by themselves to get medical leave from the company. Is it halal to earn money from this website. Thank you
Islamic Ruling & Answer
If the website merely enables users to prepare, print, or save a medical certificate in a standardized format after it has been legitimately issued by a registered doctor following a genuine medical examination, and it does not allow any false information, forged doctor's signatures, fake stamps, or fabricated medical conditions to be entered, then providing such a technical service may, in itself, be permissible. This is because the certificate is based on truthful information and a genuine medical assessment.
However, if the purpose of the website—or its predominant use—is to enable people to create fake medical certificates without undergoing a doctor's examination, so that they can deceive their employer, company, institution, or any other party in order to obtain medical leave or any financial or other benefit, then creating, operating, or earning income from such a website is not permissible according to Islamic law. This is because it constitutes assistance in sin, deception, and unlawful conduct.
Allah, the Exalted, says:
﴿وَلَا تَعَاوَنُوا عَلَى الْإِثْمِ وَالْعُدْوَانِ﴾
"Do not cooperate in sin and transgression." (Surah al-Ma'idah 5:2)
The Messenger of Allah ﷺ also said:
مَنْ غَشَّ فَلَيْسَ مِنَّا
"Whoever deceives others is not one of us." (Sahih Muslim, Hadith no. 101)
The Hanafi jurists have also explicitly stated that it is not permissible to accept payment for work whose predominant purpose is to assist in unlawful acts, because "الوسائل لها أحكام المقاصد" (the legal ruling of the means follows the ruling of the ends), and assisting in sin is prohibited. (See: Radd al-Muḥtār and Al-Fatāwā al-Hindiyyah, Kitāb al-Ijārah.)
Answered by
Daurah-e-Hadith (Fazil), Darul Uloom Deoband · Specialization in Fiqh & Ifta (Grade A), Jamea Tul Hidaya, Jaipur
July 01, 2026
Researched & verified under our editorial & answer-review policy.
Related Questions
Is Creating YouTube Shorts With AI Images and Voice-Only Islamic Audio Halal?
Did the Prophet Muhammad ﷺ Express His Grief and Emotions After Losing Loved Ones?
Is Creating YouTube Videos With AI-Generated Images and My Own Voice Halal?
Is Selling Synthetic Hair Extensions Halal in Islam?
How Does Islam Define a Man and a Woman?
Is Using a Banned Application Through a VPN Haram?
Support AskMuftiOnline
Your contribution helps scholars answer more questions and keeps this platform free for everyone.
Contribute Now