Ruling on making a game engine and open source which will be used to make both permissible and haraam games

I want to work on an open source & free game engine will I get azab-e-jariah if people use it to create games involving things which are prohibited. Since its licensed under GPL I cannot control what people want to do with it. If yes then what if the features I code arent directly involved with creation of these (prohibited) things like image compostior, water refraction scripts etc. instead of modelling and animation tools.

Praise be to Allaah.

If this engine and open source will mostly be used to make permissible games, then it is permissible to make it.

If it will mostly be used for haraam things, it is not permissible.

This general principle applies to manufacturing and producing anything that may be used for either halaal or haraam purposes, when it is not known what each user will use it for. Attention should be paid to the way in which it is mostly used by people, because when it is not possible to know about each user, it is sufficient to know what is usually the case. If what is usually the case is that it is used for haraam purposes, it is not permissible to help with it, because of the prohibition on helping others in sin and transgression.

It says in Fataawa al-Lajnah ad-Daa’imah (13/109): Everything that will be used in a haraam manner or it is thought most likely that it will be used in that manner, it is haraam to manufacture it or import it or sell it or distribute it among the Muslims. End quote.

For more information please see question no. 2898, 98769 and 71170

And Allah knows best. Continue reading

Ruling on working as a security guard for a building in which there is an insurance company

I work as a security in the city of London.The building that i work it belongs to a landlord, therefore this landlord rents the space of this building to any company that is wishing to rent the place.the landlord as an owner provides a management team for this building to run the building, and this includes electricians, maintenance, security and other people that are needed to run this building. Because of the area located most of the companies that rent the space of this building are insurance companies. is it allowed to work as a security guard for this building considering that the rent is being paid by the insurance companies, and my wages are being provided by this rent which is paid from the insurance companies even though i do not deal directly with the insurance companies?.

Praise be to Allaah.

Working in commercial insurance companies is haraam, even if the work is as a security guard, because that comes under the heading of cooperating in sin and transgression. Allah, may He be exalted, says (interpretation of the meaning):

“Help you one another in Al‑Birr and At‑Taqwa (virtue, righteousness and piety); but do not help one another in sin and transgression. And fear Allaah. Verily, Allaah is Severe in punishment”

[al-Maa’idah 5:2].

See also the answer to question no. 40336

With regard to working as a security guard for a building or marketplace in which there is an insurance company, what appears to be the case is that it is permissible, because the insurance company in this case is only part of the building, and the basic principle is that there may be overlooked with regard to that which is part of something that which may not be overlooked otherwise.

So it does not matter that part of your salary may come from the money that the building owner gets from the insurance company, because your salary is in return for your work, which is permissible, as stated above.

And Allah knows best. Continue reading

Working in a programming company whose clients include riba-based banks and companies that produce alcohol

I work in an international networking company that has clients in different countries. We operate private network equipment remotely from our own location. The problem is that their clients include companies that produce alcohol and riba-based banks. Is my work haraam? Does it make any difference if I do work with these clients occasionally or regularly? If it is haraam, do I have to avoid dealing with these kinds of clients or stop working in this place altogether?.

Praise be to Allaah.

It is not permissible to offer assistance or services or programming to riba-based banks or companies that produce alcohol, because that is helping in sin and transgression, and Allah says (interpretation of the meaning):

“Help you one another in Al‑Birr and At‑Taqwa (virtue, righteousness and piety); but do not help one another in sin and transgression. And fear Allaah. Verily, Allaah is Severe in punishment”

[al-Maa’idah 5:2].

The one who helps another to do evil or shows him the way to it is a partner in the sin and has failed to do what Allah has enjoined of denouncing and disavowing evil.

Thus you know that it is not permissible to contribute to maintenance or programming that has to do with these haraam companies, whether that is done regularly or rarely. If you know that a client has a company that does haraam things, it is not permissible to you to provide services to him.

There is nothing wrong with you remaining in your job if you can avoid participating in haraam work. But if you can find another job that is free of the things we have mentioned, then that is better.

See also the answer to questions no. 85441 and 102923

And Allah knows best. Continue reading

Buying a house through a rent-to-own scheme

I am in the UK and it is impossible to buy a house unless you have a very large sum of money. However now there are halal’ mortgages being offered to muslims and i would like to know if these are permissible. The way it works is that a muslim bank buys 80% of the house and you buy 20%. Then you live in the house and also make a monthly payment to the bank which consists of two parts. One part is a repayment of the 80% which the bank owns and one part is a rental payment to the bank because you are also occupying the 80% which the bank owns. The rental payment is fixed for 6 months after which it is reviewed by the bank and a new rental figure is set for the next 6 months. This carries on until you pay off all the 80% which the bank owns. Is this permissible? Please please could you answer this question as i am married and am in desperate need of a house and this seems like my only option apart from renting.

Praise be to Allaah.

What we understand from the question is that the bank sells its share of the house to you, and the price is divided into monthly instalments. But at the same time the bank retains its ownership of the house until the instalments are paid off, and during that period it rents its share of the house to you.

Based on that, you pay a monthly sum, part of which is towards the price of the house and the other part is rent for the house.

This is one of the kinds of “rent-to-own” schemes, and it is a haraam kind, because it includes a number of things that are contrary to sharee‘ah, namely:

1-     It goes against the implication of the sale contract, because the sale contract implies that the item sold is transferred to the purchaser, but in this case the house remains under the ownership of the bank and is not transferred to the purchaser.

One of the statements of the Islamic Fiqh Council is that “the seller has no right to retain ownership of the sold item after the sale.” Continue reading

Ruling on working as a cashier in a place that sells pork and cigarettes

What is the ruling on working as a cashier in a store that sells haraam things such as cigarettes, pork and so on? This work is only adding up the cost of the items a customer buys, not promoting these items or carrying them and putting them in their places. Please note that the store sells other things such as vegetables, food, clothing and so on.

Praise be to Allaah.

It is not permissible to sell haraam things such as cigarettes, pork and so on, because that is helping in sin and transgression, and because when Allah forbids a thing, He also forbids its price. The cashier is the one who handles the sale directly, so it is not permissible for him to sell haraam things, and he is sinning every time he sells a haraam item. His sin is no less than that of the one who promotes it and the one who carries it, because he is the one who conducts the actual sale and all other activities are connected to what he is doing.

See also the answer to question no. 81778 and 98495

And Allah knows best. Continue reading

Ruling on operating and maintaining of broadcast equipment for satellite channels and radio stations

I am a communications engineer, working in broadcast engineering. The nature of my work involves operating and maintaining electronic equipment that is used to re-transmit signals to some Arab countries and some local radio stations. Please note that I do not have anything to do with the nature of the programs offered by these channels or stations. Please note these channels and stations propagate and promote goals. Is this work haraam, and if so, why?.

Praise be to Allaah.

Satellite channels are not all the same, although most of them are not free of evils, innovations and sinful or immoral content, and even kufr and heresy.

These channels may be divided into three main groups: Islamic channels; music and movies; and news channels which also offer educational and political programs.

Working for Islamic channels in operating, re-transmitting and maintaining equipment is permissible work; indeed the one who does that will be rewarded for it if he intends thereby to guide and teach people and to protect their religious commitment and morals. What we mean by Islamic channels is those that propagate the beliefs of Ahl as-Sunnah wa’l-Jamaa‘ah and that avoid showing women or using music. Examples of that are al-Majd, ar-Rahmah, al-Hikmah and an-Naas.  Continue reading

Ruling on working for a Christian who makes fun of Islam

I am a young man and I work for a company that is owned by a heretic Christian, who makes fun of Islam and hates Muslims. Is it permissible to work for this mushrik in the case of necessity? 
Sometimes I stay away from work to do things I need to do, without his permission, but I record it as if I was present at work, as he has withheld many of my rights from me. Is that permissible? And what does repentance entail?.

Praise be to Allaah.


It is permissible to work for a kaafir or mushrik, so long as one does not approve of anything of his disbelief or sins. So it is obligatory to object to him if he makes fun of Islam or Muslims. It is also obligatory to adhere to Islamic guidelines such as not regarding him as a friend, not being the first one to greet, and so on. It is better to work for a Muslim who fears Allah.  Continue reading

Ruling on raising pigs and rats for university laboratories

Is working with pigs in university laboratories permissible?.

Praise be to Allaah.

There is nothing wrong with raising pigs and rats to carry out scientific experiments on them, so long as you do not touch the pig except with a barrier, such as gloves, or you wash your hands after touching it.

See also the answer to questions no. 8509 and 20843

And Allah knows best. Continue reading

Working in a money transfer company that belongs to a riba-based bank

There is a commercial bank in my country; this bank is a government institution comprised of many separate companies that belong to the bank, including a marketing company, a computer company, a money transfer company, an insurance company, an Islamic section that is financially and administratively separate, and other departments. Some of them are financially and administratively separate and some are not. 
I have been working in this bank for only a few months, in the money transfer department. This company or department (I did not call it the company because it has still not been announced as a company to date) is separate from the bank’s operations and regular transfers, as this company is like other transfer companies worldwide, such as Western Union or Money Gram, but it belongs to the bank. However we specialise in money transfers within the country only, with a few transfers overseas. We have a large network because the bank is so well known in the country. My work is limited to serving people by giving them the transfer numbers by means of which they can get their money, and preparing some reports to explain the process of transfers coming and going, and so on; these are routine reports. The company charges commission for offering this service, which I asked about and they said that it is permissible and there is nothing wrong with it. 
My question is: is the money that I get from the company or department – which belongs to the bank – haraam? I am in the process of moving to the Islamic section of the bank, which is supervised by a sharee‘ah committee which supervises other Islamic banks in the country, and which is a financially and administratively separate department. But the process of moving needs more time. 
I hope that you can advise me, may Allah reward you with good, because I am afraid that I may be disobeying my Lord.

Praise be to Allaah.

There is nothing wrong with working in the transfer company mentioned, even though it belongs to the riba-based bank. Working for it is like working for one who deals in riba, which is permissible so long as the work is permissible and does not help him in doing anything haraam.

See the answer to question no. 82617.

There is nothing wrong with taking payment for making a transfer and moving money from one bank to another.

See the answer to question no. 87656

Moving to the Islamic department which is administratively and financially separate is better and is preferable, so hasten to do that.

We ask Allah to help guide us and you.

And Allah knows best. Continue reading