Does one who teaches knowledge, which the learner then uses in disobedience—such as teaching programming that is used in hacking—bear a sin? And is their conscience cleared by saying: "I absolve myself before Allah Almighty should anyone use what they learn to harm a Muslim"?
Source: FtawySummary from Ftawy's records · added here Sep 2, 2026
Sciences are divided into beneficial sciences, such as medicine and agriculture, which are permissible to teach and may even be obligatory; harmful sciences, such as magic and music, which are forbidden to learn and teach; and sciences that can be used for either good or harm, such as weapons manufacturing and martial arts. The latter should not be taught to anyone suspected of using them for unlawful purposes. An exception to this is spying on criminals and those who fight Islam, in order to preserve religion, honor, wealth, life, and intellect.
Summary from Ftawy's records · added here
Reviewed by El Fatwa's sharia committee.
Read the full answer on Ftawyhttps://ftawy.com/en/questions/27656
Where this answer came from
- Source platform
- Ftawy
- Original fatwa ID
- 27656
- 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