Fatawaa

Subject : Ruling of Islamic Law on Designing Software and Websites for Loans (Riba-Based Loan Services)
Fatwa Number : 4508
Date : 20-08-2026
Classified : Leasing
Fatwa Type : Search Fatawaa

Question :

We are a team in the design department of a telecommunications company. Our work is limited to designing user interfaces and screens for applications and websites, with no direct financial dealings with customers or banks. We were recently asked to prepare and design screens for an interest-based (*ribawī*) personal loan service to be offered through the e-wallet in cooperation with a conventional bank. We understand that *ribā* is among the unequivocally forbidden matters, and we objected to this assignment, but company management insists that it be completed. Refusing to carry it out may expose us to legal action that could reach dismissal from work and loss of our employment entitlements, and the loss of our only source of livelihood, while we have significant financial and family obligations. We ask for the Sharīʿah ruling on this matter.



 



The Answer :

All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.

Islam has forbidden every act that leads to what is forbidden. Allah the Exalted says {what means}: “And do not cooperate in sin and aggression” [al-Māʾidah/2]. It is narrated on the authority of Jābir (may Allah be pleased with him) that he said: “The Messenger of Allah (peace and blessings be upon him) cursed the one who consumes ribā, the one who gives it to others, its scribe, and its two witnesses, and said: They are all alike.” Narrated by Imam Muslim. Imam al-Munāwī (may Allah have mercy on him) said: “He made them equal in the curse, that is, the one who consumes ribā, the one who gives it, its scribe, and its two witnesses, because the contract is not completed except through all of them together.” [Fayḍ al-Qadīr, Vol.1/p.54]

Forbidden assistance is therefore that which is direct or which is a cause leading to the forbidden. Every act that assists in the forbidden and serves as a means to it is forbidden like it, for means take the ruling of the objectives. This covers completion, execution, and promotion.

The ruling on working in programming systems for banks and companies in general varies according to the type of software designed. If the programs the employee will design are used in all kinds of banks, whether Islamic banks or interest-based (ribawī) banks, then the ruling on working on such a system returns to the principle on which Sharīʿah rulings are built, namely the original absence of liability, which indicates permissibility until evidence of prohibition arrives. If it is then sold to interest-based banks, the sin falls on the one who benefits from it in an unlawful way.

If, however, the program is designed only for interest-based banks and will be used in matters that assist their forbidden transactions, then working on designing it is forbidden, and we advise declining to design it.

As for an employee who works in a field that assists in the forbidden, if leaving his job would result in ruin for himself or loss for those he supports, this is tolerated out of necessity. He continues in his work until he finds another job, while remaining obliged to seek other work even with lesser benefits, based on the legal maxims: “Necessities permit the prohibited” and “Necessity is measured by its extent.”

This, then, is the general breakdown stated above, and the employee is best able to describe the nature of his own work. We remind of the saying of Allah the Mighty and Majestic: “And whoever fears Allah, He will make for him a way out, and will provide for him from where he does not expect. And whoever relies upon Allah, then He is sufficient for him.” [al-Ṭalāq/2-3], and that whoever leaves something for the sake of Allah, Allah will replace it with something better. And Allah Almighty knows best.






Comments


Captcha


Warning: this window is not dedicated to receive religious questions, but to comment on topics published for the benefit of the site administrators—and not for publication. We are pleased to receive religious questions in the section "Send Your Question". So we apologize to readers for not answering any questions through this window of "Comments" for the sake of work organization. Thank you.