What is the ruling on working in programming pages and codes related to online shopping (e-commerce)? And what should a programmer do if he has already worked in it? And how should he deal with the salary earned from it? And must he leave work in a software company that works on mixed projects that involve dealing with usurious banks and hotels that sell alcohol? And what is the ruling on his work in creating a code library for the company that may be used in various projects, both permissible and impermissible?
Source: FtawySummary from Ftawy's records · added here Sep 2, 2026
There is no harm in developing a program for using credit card numbers, even if it is used by institutions involved in some unlawful activities, provided their main work is not exclusively unlawful, or if it is used by holders of cards involved in unlawful transactions. This is because it is a means that is not exclusively dedicated to unlawful purposes. Furthermore, there is no obligation to donate a portion of the salary unless it is done voluntarily.
Summary from Ftawy's records · added here
Reviewed by El Fatwa's sharia committee.
Read the full answer on Ftawyhttps://ftawy.com/en/questions/119034
Where this answer came from
- Source platform
- Ftawy
- Original fatwa ID
- 119034
- 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