Does a Late-Fee Clause Make Income Haram?
Hanafi Fiqh
Answered by Shaykh Faraz Rabbani
Question
If a company’s contracts include impermissible late-fee or interest clauses, are the goods and money flowing through them haram, and is it impermissible to deal with such companies or develop software for them?
Answer
No. The goods are not haram, and ordinary purchases from such companies remain permissible. The defective clause in the contract is one thing. The underlying transaction and its proceeds are different.
The Hanafi Principle: Two Types of Defective Contract
The Hanafi school distinguishes between two kinds of defective contract.
An invalid (batil) contract is utterly void; no ownership transfers, no rights flow. [Ibn Abidin, Radd al-Muhtar; Majalla with Sharh al-Atasi]
A corrupt (fasid) contract is one in which the contract itself is operative (ownership transfers, the goods belong to the buyer, the payment belongs to the seller), but a particular corrupt element is invalid and must be removed. [ibid.]
A sale that includes an impermissible late fee or interest stipulation is corrupt (fasid) in the Hanafi school. The corrupt clause must be undone (the interest is not lawfully owed, even if charged), but the sale itself stands.
Imam Ibn Abidin (Allah have mercy on him) treats this at length in Radd al-Muhtar, in his chapter on al-Bay’ al-Fasid.
The Practical Consequences
The practical consequence: as a third-party buyer in the marketplace, you may purchase goods from these companies. The goods you receive belong to you. The money you pay them is lawfully theirs.
Whatever interest they may improperly collect from a defaulting customer is the corruption, and it does not retroactively contaminate every transaction the company has touched.
On Mixed Income
The relied-upon Hanafi position is that the income of someone whose dealings are mixed (some lawful, some unlawful) is treated as lawful in ordinary commerce, unless one knows of a specific transaction that the particular dirhams or goods being exchanged are themselves from the unlawful portion.
This is the position taken in Imam Ibn Abidin’s Radd al-Muhtar and in the standard Hanafi fatawa. Buying from a company that has a problematic clause in some of its contracts is not the same as receiving a known haram payment.
Your Software Development Work
Developing a program that manages debt accounts is permissible. Debt itself is permissible, and the management of who owes whom is a lawful human need.
The fact that some of your clients may incorporate impermissible clauses into their use of the software does not make your work haram.
You are providing a general-purpose tool; you are not contracting the impermissible clauses yourself.
The relevant question is whether your direct work crosses the line into haram authorship.
If a client asks you specifically to write a module that computes interest on overdue debt, that specific feature would be impermissible for you to build, and you should decline that particular task.
The general debt-tracking functionality is fine.
Your Contracts, Your Code
Buy normally. Work normally. Stay alert in your own direct contracts and in the specific features you are asked to build. When in doubt on a specific clause or commission, consult a Hanafi scholar familiar with software work and finance.
Allah Most High says, “Allah has permitted trade and forbidden riba.” [Quran 2:275]
And Allah knows best.
[Shaykh] Faraz Rabbani
Related SeekersGuidance Answers
Is It Permissible to Work as a Software Developer for a Bank or Company That Deals in Interest? Working as a software developer for a corporation that utilizes late fees or interest clauses is permissible if your direct tasks do not involve writing, testing, or executing the specific code or algorithms designed to calculate and process those interest-based transactions.
Are Late Fees Charged by Companies Considered Riba (Interest)? Mandatory financial penalties applied strictly for late payments are classified as a form of Riba (interest). However, entering a contract with such a clause does not invalidate the primary exchange of goods or services, nor does it make the money flowing through the core transaction haram.
Does a Corrupt or Invalid Clause Void the Entire Transaction? In Hanafi jurisprudence, an invalid or corrupt condition (shart fasid) appended to a contract affects the clause itself but does not render the entire underlying transfer of property or goods forbidden. The main transaction remains valid, and the primary assets exchanged remain completely halal.
Is it Permissible to Sign a Contract with a Late-Fee Clause? It is legally acceptable to sign contracts containing late fee clauses for everyday services provided the consumer has a strong intention and realistic means to pay on time, thereby avoiding the activation of the impermissible fee and keeping the transaction clear of actual riba.
What is the Ruling on Income Earned from a Company that Charges Interest? Wages earned from providing a completely permissible service, such as IT infrastructure or standard software development, remain entirely halal even if the client company engages in prohibited financial practices elsewhere, as your specific labor is not direct assistance in sin.
Ruling on Working for Companies With Permissible and Impermissible Streams of Income Dealing with or working for a corporation with mixed revenue streams or contract styles is valid as long as the overriding nature of your employment is lawful and you are not actively facilitating or programming the illegitimate aspects of the organization’s operations.
Relevant SeekersGuidance Courses
Islamic Commercial Law (Hanafi): Principles of Buying, Selling, and Modern Transactions This course provides an extensive look at valid contract structures, highlighting the differences between sound and corrupt conditions, the rules regarding deferred payments, and how modern corporate agreements are evaluated under traditional fiqh.
Money Matters: Islamic Finance, Personal Wealth, and Halal Livelihoods A practical guide analyzing contemporary financial concerns, explaining the strict legal definition of Riba, how to safely navigate utility contracts containing late fees, and the conditions for maintaining a pure income in modern industries.
Introduction to Islamic Law: Transactions and Commercial Contracts An essential foundational course examining the mechanics of everyday trade, identifying invalid clauses in corporate contracts, and establishing the exact boundaries for permissible employment within mixed-business environments
Shaykh Faraz Rabbani is a recognized specialist scholar in the Islamic sciences, having studied under leading scholars from around the world. He is the Founder and Executive Director of SeekersGuidance.
Shaykh Faraz stands as a distinguished figure in Islamic scholarship. His journey in seeking knowledge is marked by dedication and depth. He spent ten years studying under some of the most revered scholars of our times. His initial studies took place in Damascus. He then continued in Amman, Jordan.
In Damascus, he was privileged to learn from the late Shaykh Adib al-Kallas. Shaykh Adib al-Kallas was renowned as the foremost theologian of his time. Shaykh Faraz also studied under Shaykh Hassan al-Hindi in Damascus. Shaykh Hassan is recognized as one of the leading Hanafi jurists of our era.
Upon completing his studies, Shaykh Faraz returned to Canada in 2007. His return marked a new chapter in his service to the community. He founded SeekersGuidance. The organization reflects his commitment to spreading Islamic knowledge. It aims to be reliable, relevant, inspiring, and accessible. This mission addresses both online and on-the-ground needs.
Shaykh Faraz is also an accomplished author. His notable work includes “Absolute Essentials of Islam: Faith, Prayer, and the Path of Salvation According to the Hanafi School.” This book, published by White Thread Press in 2004, is a significant contribution to Islamic literature.
His influence extends beyond his immediate community. Since 2011, Shaykh Faraz has been recognized as one of the 500 most influential Muslims. This recognition comes from the Royal Islamic Strategic Studies Center. It underscores his impact on the global Islamic discourse.
Shaykh Faraz Rabbani’s life and work embody a profound commitment to Islamic scholarship. His teachings continue to enlighten and guide seekers of knowledge worldwide.