Ruling on working in a programming company that has another section which designs websites for advertising alcohol

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 work as a computer engineer in a programming company that belongs to Christians. The company has started designing websites for wine shops and factories. There is no programming work required, it is all about web designing so far. But it is very possible that they will require programming work. I have left the company to save myself from this doubtful matter. But there are Muslims working in this company and they refuse to leave it. What is the ruling in this situation?.
(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:

Praise be to Allaah.

If the programming work is limited to that which is permissible, and has nothing to do with the haraam sites such as sites for selling or manufacturing alcohol, then there is nothing wrong with staying in this job. It comes under the heading of payment for permissible work done for one who is committing a haraam action, like working for one who deals in riba or drinks alcohol and so on. It is well known that the basic principle is that this interaction is permissible, so long as it is not helping in doing the haraam action. Some of the companions of the Prophet (peace and blessings of Allaah be upon him) worked for the Jews, even though it was well known that they dealt in riba and consumed haraam wealth. 

But it is makrooh to deal with those whose wealth is mixed, and you have done well to leave this company. We ask Allaah to compensate you with something better. 

If the work in programming and the work in designing websites for advertising alcohol or other haraam things is mixed, then it becomes obligatory for you to leave this job, because it is not permissible to deal directly with haraam things or help with them. 

See question no. 31781.  

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: