Dear Hadi,
Dear Reader,
This is a thoughtful question, and the fact that you are asking it says something good about your heart. Many people ask whether a job pays well, whether it advances their career, or whether it is exciting. Fewer ask: “Will this income be pleasing to Allah?” That concern itself is a blessing.
The basic principle in Islamic law is that worldly work, trade, technology, and innovation are permissible unless they directly involve what Allah has prohibited.
Allah says: “Allah has permitted trade and forbidden usury…” (Qur’an 2:275)
This verse establishes a general principle: worldly means, commerce, tools, and professions are halal by default unless there is clear involvement in sin.
So building software, backend systems, mobile infrastructure, storage platforms, media distribution tools - these things in themselves are not haram. Writing code is like building roads, marketplaces, or communication channels: the tool itself is neutral.
The real question is: What is the platform primarily used for, and what are you knowingly helping to spread?
Allah says: “And cooperate in righteousness and piety, and do not cooperate in sin and transgression.” (Qur’an 5:2)
This verse is often central in questions like yours. So it's important to ask yourself a few questions:
1. What is the platform’s dominant purpose?
If it is primarily:
- humor,
- harmless memes,
- creativity,
- communication,
- educational or social content,
- family-friendly entertainment,
then the work is, in principle, permissible.
2. Does the platform primarily promote haram content?
If the business model knowingly revolves around:
- pornography or sexualized content,
- mockery of religion,
- humiliation of people,
- slander, backbiting, or bullying,
- indecency,
- promoting drugs, gambling, or other prohibited acts,
then your concern becomes more serious, because you may be facilitating what falls under “do not cooperate in sin.”
3. How much control or knowledge do you have?
There is an important difference between:
- building general infrastructure used by millions for mixed purposes, versus
- directly designing features specifically to amplify haram content.
For example, if someone were building cloud storage for user media, that's generally neutral, whereas if someone were building an algorithm specifically to maximize engagement with explicit content, that would be problematic.
Keep in mind the Prophet's (pbuh) saying that: “Actions are judged by intentions…” (Sahih al-Bukhari and Sahih Muslim)
Your intention matters, but of course intention does not make clearly haram work halal. Rather, intention matters within halal means.
Based on what you described—a backend system for storing and sharing memes and videos on mobile—that work is generally permissible in principle, because the technology itself is neutral. But, if after honest investigation, you conclude that this platform is fundamentally built around spreading harmful or prohibited content, then walking away for Allah SWT is never a loss. The Prophet (pbuh) said: “Whoever leaves something for Allah, Allah will replace it with something better.” (Musnad Ahmad)
In peace.