Making a program which will be used for halaal and haraam

Dear Brothers & Sisters,
As-Salaamu-Alaikum wa Rahmatullahi wa Barakatuh. (May Allah's Peace, Mercy and Blessings be upon all of you)
One of our brothers/sisters has asked this 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 halaal, and some are haraam.
Is it permissible for me to do this, knowing that I myself will not be directly involved in doing the haraam things? All I will be doing is preparing the program or designing the web-site, which they will use in their work.
(There may be some grammatical and spelling errors in the above statement. The forum does not change anything from questions, comments and statements received from our readers for circulation in confidentiality.)
Check below answers in case you are looking for other related questions:

Answer:

Praise be to Allaah.

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

If most of the work which this company does is haraam, 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 (haraam and halaal elements) are the same, then he should not do it, on the assumption that what is haraam will outweigh what is halaal. And Allaah knows best.

Whatever written of Truth and benefit is only due to Allah's Assistance and Guidance, and whatever of error is of me. Allah Alone Knows Best and He is the Only Source of Strength.

Related Answers:

Recommended answers for you: