Monday 12 Jumada al-akhirah 1448 - 23 November 2026
English

Making a program which will be used for halal and haram

Question

I want to design a web-site for a company, or make a computer program for them. I know that some of the things that this company does are halal, and some are haram.

Is it permissible for me to do this, knowing that I myself will not be directly involved in doing the haram things? All I will be doing is preparing the program or designing the web-site, which they will use in their work.

Answer

Praise be to Allah.

We put this question to Shaykh Muhammad ibn Salih al-‘Uthaymeen,who replied as follows:

If most of the work which this company does is haram, then it is not permissible for him to do that. If most of what they do is permitted, then it is permissible for him to do it. If they (haram and halal elements) are the same, then he should not do it, on the assumption that what is haram will outweigh what is halal.

And Allah knows best.

Source: Sheikh Muhammed Salih Al-Munajjid