Friday 26 Jumada al-akhirah 1446 - 27 December 2024
English

Can a Muslim Work as a Web Designer?

Question

I work as a web designer. The websites I design do not contain pictures of women or pictures that are not Islamically acceptable. I do not use songs or music in my designs. All I do is design the site page. Is my work permissible? Is the money I earn permissible or prohibited? 

If after I finish designing, the owner of the site adds songs or pictures or any prohibited thing, will I bear its sin? Is it permissible to use pictures of children in my designs?

Summary of answer

1- If you are a web designer and someone comes to you and you know that he wants to design a website that he will use for prohibited purposes, then it is not permissible for you to design the website for him. 2- If you do not know anything about the reason he is asking for website design, or if the site will most likely be used for permissible and beneficial things, then there is nothing wrong with you designing it and selling it.

Praise be to Allah.

Is graphic designing prohibited in Islam? 

This is an issue that is of widespread concern nowadays, as the result of the spread of sin and all kinds of prohibited things. There is hardly any field in which Satan does not try to spread evil in it, to such an extent that the Muslims are becoming very confused about what is permissible and what is prohibited, and it has become very difficult for them to purify their earnings and avoid any prohibited elements in them. Allah is sufficient for the pious and for His believing slaves. He sees that they want to obey Him and hate to disobey Him, and He will reward them and grant them forgiveness.  

In Islamic Shari`ah, one of the principles of permissible business and trade is that it should not be something by means of which Allah is disobeyed, so it should not be a means of sinning or lead to falling into prohibitions. When Islam forbids a thing, it also forbids everything that may lead to it or help with it, and Islam enjoins blocking all the means that lead to it.

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 Allah. Verily, Allah is Severe in punishment.” [Al-Ma’idah 5:2]

Shaykh `Abd Ar-Rahman As-Sa`di (may Allah have mercy on him) said: 

“One is required to refrain from every sin and act of wrongdoing, and to help others to refrain also.” (Tafsir As-Sa`di, p. 218) 

It says in Al-Mawsu`ah Al-Fiqhiyyah (3/140): 

“According to the majority of jurists it is not acceptable to sell grapes to one who will use them to make wine, or to sell means of gambling to a gambler, or a house that will be used as a church, or to sell wood to one who will make it into a cross, or to sell copper to one who will make it into a bell. The same applies to everything which it is known that the purchaser intends to use for something that is not permissible.”

If the seller, designer or producer, is certain that what he designs will be used for prohibited purposes , it is not permissible for him to sell it or produce it. The same ruling applies if he thinks that is most likely, even if he is not certain. 

However, if he is in doubt or does not know how the item he is selling or producing will be used, then there is no harm in selling it and designing it, and the sin will fall on the one who uses it for prohibited purposes.  

Ibn Hazm (may Allah have mercy on him) said: 

“It is not permissible to sell anything to one who will certainly use it to disobey Allah, and such transactions are permanently null and void, such as selling anything that may be squeezed or pressed to one who it is certain will use it to make alcohol, or selling a slave to one who it is certain will mistreat his slave, or selling weapons or horses to those who it is certain will use them to attack the Muslims, or selling silk to one who it is certain will wear it, and so on, because 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 Allah. Verily, Allah is Severe in punishment.” [Al-Ma’idah 5:2]

The kinds of transactions that we have mentioned are obviously kinds of cooperating in sin and transgression, without going into detail, so annulling them is cooperating in righteousness and piety. 

If no such thing is known for certain, then the transaction is valid, because it is not helping in sin. If the purchaser disobeys Allah after that, then the sin is on the purchaser only and not on the seller.” (Al-Muhalla, 7/522) 

The same ruling applies to the brother who asked the question: 

If someone comes to you and you know that he wants to design a website that he will use for prohibited purposes, such as Riba-based banking or indecent pictures or selling prohibited things such as alcohol , pork or cigarettes, or websites for movies and music , then it is not permissible for you to design the website for him, and it is not permissible for you to help him in the evil that he wants to do; rather what you must do is advise him and guide him and remind him to fear Allah, may He be Glorified and Exalted. 

Nonetheless, if you do not know anything about the reason he is asking for website design, or if the site will most likely be used for permissible and beneficial things, then there is nothing wrong with you designing it and selling it, even if the owner will include some prohibited things in it, because the rulings of Shari`ah are based on what is most likely to be the case and not on rare instances. 

Is it permissible to use pictures of children in graphic designs?

With regard to the ruling on including pictures of children on the websites that you design, that is not permissible. We have stated previously that it is prohibited to make images, whether they are drawn by hand or made with a machine (a camera), and no exceptions are made from this ruling except that which is absolutely necessary, such as pictures in passports and other things that are needed. 

And Allah knows best.

Was this answer helpful?

Source: Islam Q&A