← Back to questions

Is game development/programming prohibited in Islam?

The question of whether game development or programming is prohibited in Islam is a matter of scholarly debate.

According to Sunni scholarship, as reflected in Tafsir Ibn Kathir, there are concerns regarding certain types of games, particularly those associated with gambling or that distract from religious duties. The Qur'an states, They question thee about strong drink and games of chance. Say: In both is great sin, and (some) utility for men; but the sin of them is greater than their usefulness. 2:219 Ibn Kathir explains that this verse highlights the harmful nature of games of chance, which are often linked to gambling and sinful behavior. Furthermore, it has been reported that the Prophet Muhammad ﷺ condemned games like backgammon, which were associated with gambling, indicating a broader principle against activities that lead to sin or distract from worship (Tafsir Ibn Kathir).

On the other hand, Shia scholarship, as reflected in Majma al-Bayan, does not specifically address modern gaming or programming but emphasizes the importance of avoiding activities that lead to sin. The focus is on ensuring that one's actions do not detract from the remembrance of Allah or engage in activities deemed harmful or sinful.

In summary, while there is no explicit prohibition on game development or programming in Islamic texts, scholars caution against any involvement in games that are linked to gambling or sinful behavior. For a ruling that applies to your specific situation, consult a qualified local scholar.

Sources

Answers are generated and checked automatically; they may still be incomplete or imperfect. For religious rulings, consult a qualified scholar.

Ask your own question →