Back to search

What is the ruling on programming games for entertainment purposes, and what is the ruling on advertising them with music? Is it permissible for a game to contain music or sound effects that simulate the sounds of musical instruments or short musical pieces? Is it permissible for a game to include characters of living beings, and what is the legitimate alternative to that? What is the best way to spend money earned from games?

1 min readAlso available in العربية

For the design of electronic games to be permissible, it is stipulated that they must be free from impermissible (haram) elements, such as images of nudity, concepts that contradict Islamic law, and music. It is not a condition for a game to have an educational or didactic character, as permissible entertainment is not blameworthy. It is not permissible for the programmer to include musical instruments in their applications; sound effects or short alert sounds can be used as alternatives, provided they are not rhythmic or melodious. As for images of animate beings in digital games, they are permissible according to the fatwa on this website. Regarding the question about the best types of charitable spending, it is not possible to definitively state the absolute best type, due to the varying circumstances and needs of people.

Summarized from the full answer at Ftawy · reviewed Sep 2, 2026

Read the full answer on Ftawy