Monday 12 Thu al-Qa‘dah 1445 - 20 May 2024

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


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?.


Praise be to Allah.

If the programming work is limited to that which is permissible, and has nothing to do with the haram 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 haram 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 haram action. Some of the companions of the Prophet (peace and blessings of Allah be upon him) worked for the Jews, even though it was well known that they dealt in riba and consumed haram wealth. 

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

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

See question no. 31781.  

And Allah knows best.

Was this answer helpful?

Source: Islam Q&A