What should a website developer do if he created a gambling program for a client, then repented, and the client returned demanding the program for which he paid, and the developer does not have the money to return to him and fears cooperating in sin by delivering the program?
Source: FtawySummary from Ftawy's records · added here Sep 2, 2026
If the programmer knows that the purpose of the program is gambling, then it is not permissible for him to do so, nor to assist the one requesting it by completing it, due to the Almighty's saying: "And cooperate in righteousness and piety, but do not cooperate in sin and aggression." The programmer did well by refusing to deliver the program, and he must return the price to its owner.
Summary from Ftawy's records · added here
Reviewed by El Fatwa's sharia committee.
Read the full answer on Ftawyhttps://ftawy.com/en/questions/146056
Where this answer came from
- Source platform
- Ftawy
- Original fatwa ID
- 146056
- Added here
- . This is when the answer was added to El Fatwa, not the fatwa's date.
- Text
- Summary from Ftawy's records, reviewed by El Fatwa's sharia committee.
- Read the full ruling
- Read the full answer on Ftawy