Is it permissible to offer a program on the internet for hacking computers, knowing that it is not permissible to use it to hack those who do not deserve it?
Source: FtawySummary from Ftawy's records · added here Sep 2, 2026
Electronic hacking is originally forbidden because it is an assault on people's privacy and possessions, and it involves spying and seeking out vulnerabilities. However, if the device contains something suspicious, corrupt, or harmful to Muslims, then it is permissible to hack it to protect the interests of Muslims and to thwart the plans of corrupt individuals. Selling or publishing programs used for hacking is forbidden if the seller knows that the buyer will use them for evil.
Summary from Ftawy's records · added here
Reviewed by El Fatwa's sharia committee.
Read the full answer on Ftawyhttps://ftawy.com/en/questions/19877
Where this answer came from
- Source platform
- Ftawy
- Original fatwa ID
- 19877
- 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