When Transactions Become Worship

Understanding the distinction between worship and transactions in Islamic law

Islamic law is often divided into two broad categories: the rights of Allah (huquq Allah) and the rights of His servants (ḥuquq al-ʿibad). This distinction is not meant to separate religion from worldly life, but to explain the primary purpose behind different areas of the Shariʿah.

The Hanafi jurist Muhammad Amin Ibn ʿAbidin writes in the introduction to the chapter on transactions:

“The rights of Allah, the Exalted, consist of acts of worship (ʿibādāt) and prescribed punishments (ʿuqūbāt), while the rights of people consist of transactions (muʿāmalāt).

The purpose of acts of worship is for the servant to draw near to the Sovereign who is worshipped and attain His reward and bounty.

The purpose of transactions is to fulfil the interests of human beings.”

His point is not that transactions are merely worldly matters or that they cannot be acts of worship. Rather, he is explaining their primary legislative purpose.

The rights of Allah include obligations such as prayer, fasting, and zakah. These acts were legislated primarily to establish a servant’s relationship with Allah through worship and obedience.

The rights of people, on the other hand, concern interactions between individuals. They include matters such as buying and selling, marriage, inheritance, trusts, debts, and contracts. These rulings were legislated to protect people’s rights, prevent injustice, and preserve the welfare of society.

Although their primary purposes differ, both categories are acts of obedience to Allah. A Muslim does not worship Allah only in the mosque; they also worship Him by fulfilling the rights of His creation.

This is why honesty in trade, fulfilling contracts, returning trusts, treating one’s spouse fairly, and paying debts are all rewarded when done in accordance with the Sharīʿah and with sincerity for Allah’s sake.

Allah says:

“Say: Indeed, my prayer, my sacrifice, my living and my dying are for Allah, the Lord of the worlds.” (Qur’an 6:162)

The Prophet ﷺ also said:

“Actions are judged only by intentions, and every person shall have only what they intended.”

Agreed upon by Sahih al-Bukhari and Sahih Muslim.

These texts show that lawful worldly actions become acts of worship when they are performed sincerely for Allah.

The Prophet ﷺ further said:

“The truthful and trustworthy merchant will be with the Prophets, the truthful, and the martyrs.”

(Jami’ al-Tirmidhi)

This demonstrates that even commerce – one of the clearest examples of the rights of people -can elevate a believer to the highest spiritual ranks when carried out with honesty and integrity.

In summary, the distinction between the rights of Allah and the rights of His servants is a legal classification based on the primary objective of the law. The rights of Allah are centred on devotion to Him, while the rights of His servants are centred on justice, welfare, and preserving people’s interests. Yet both are forms of obedience to Allah, and both become means of drawing closer to Him when fulfilled sincerely and in accordance with His guidance.

Ibn Abidin’s definition of worship and transactions

At the beginning of the Book of Sales in Radd al-Muhtar ala al-Durr al-Mukhtar, the great Hanafi jurist Muhammad Amin Ibn Abidin (may Allah have mercy on him), who died in 1252 AH/1836 CE, comments on the arrangement of the chapters of Islamic law:

لَمَّا فَرَغَ مِنْ حُقُوقِ اللَّهِ تَعَالَى: الْعِبَادَاتِ وَالْعُقُوبَاتِ، شَرَعَ فِي حُقُوقِ الْعِبَادِ: الْمُعَامَلَاتِ.
وَالْمُرَادُ بِالْعِبَادَاتِ مَا كَانَ الْمَقْصُودُ مِنْهَا فِي الْأَصْلِ تَقَرُّبَ الْعَبْدِ إلَى الْمَلِكِ الْمَعْبُودِ، وَنَيْلَ الثَّوَابِ وَالْجُودِ، كَالْأَرْكَانِ الْأَرْبَعَةِ وَنَحْوِهَا، وَبِالْمُعَامَلَاتِ مَا كَانَ الْمَقْصُودُ مِنْهَا فِي الْأَصْلِ قَضَاءَ مَصَالِحِ الْعِبَادِ كَالْبَيْعِ وَالْكَفَالَةِ وَالْحَوَالَةِ وَنَحْوِهَا.

He explains:

“Having completed the discussion of the rights of Allah—the acts of worship and prescribed punishments—the author begins the rights of people: transactions.

“What is meant by acts of worship is that whose original purpose is for the servant to draw closer to the Sovereign who is worshipped and to attain reward and bounty, such as the four pillars and similar acts.

“What is meant by transactions is that whose original purpose is to fulfil the interests of people, such as sale, guarantee, assignment of debt and similar dealings.”

Ibn Abidin then adds an important clarification. The fact that buying or selling may become obligatory because of particular circumstances does not remove it from the category of transactions. In the same way, the presence of showing off in someone’s prayer does not remove prayer from the category of worship, even though showing off may corrupt its sincerity and reward.

His classification is therefore based on the original purpose of the legislation, not necessarily the intention or spiritual condition of every individual performing the act.

The primary purpose of worship

Acts such as prayer, fasting, zakah and Hajj are means of gaining closeness to Allah. Their essential purpose is worship itself. A person does not pray simply to obtain a material benefit. Although prayer undoubtedly brings spiritual, emotional and social benefits, these are not the primary reason for which it was prescribed. Prayer is performed because Allah commanded it and because the servant seeks closeness to Him.

This is why the details of ritual worship are generally received through revelation. The number of units in each prayer, the days of fasting and the rites of Hajj are not determined merely by human custom or calculations of worldly benefit.

The primary purpose of transactions

Transactions, by contrast, were legislated primarily to organise people’s relationships and secure their legitimate interests. Their rulings protect wealth, facilitate the exchange of goods and services, establish rights and responsibilities, prevent exploitation and resolve disputes.

Buying and selling allow people to obtain what they need. Guarantees protect the rights of creditors. The assignment of debt facilitates repayment. Partnerships allow people to combine their skills and resources. Employment contracts regulate the exchange of labour and payment.

Allah says:

“O believers! Do not devour one another’s wealth illegally, but rather trade by mutual consent.”
(Surat an-Nisa, 4:29)

Islam therefore recognises people’s need to earn, own property, trade and enter agreements. At the same time, it regulates these activities so that one person’s benefit is not built upon another person’s oppression.

This is not a division between the sacred and the worldly

Ibn Abidin’s distinction should not be misunderstood as separating life into a religious sphere and a non-religious sphere.

Transactions remain subject to the commands of Allah. The Muslim is not free to behave ethically in prayer but dishonestly in business. The same faith that requires sincerity in worship also requires honesty in contracts, transparency in sales, the fulfilment of promises and the avoidance of riba, fraud and exploitation.

When jurists describe transactions as being concerned with the “rights of people”, they are identifying the dominant interest protected by those rulings. They are not suggesting that Allah has no rights within financial or social dealings.

Indeed, obeying Allah in the way we earn, spend, borrow, lend and trade is itself an expression of submission to Him.

How does a transaction become an act of worship?

A transaction may become an act of worship when two essential elements are present.

1. The transaction must be lawful

The contract, product, payment method and conduct of the parties must comply with Islamic principles.

A sincere intention cannot transform a prohibited transaction into a permissible one. A person cannot engage in riba, deception, bribery or the sale of something unlawful and then claim that the profit will be used for a good purpose.

Allah has permitted trade and prohibited riba. The means must therefore be lawful as well as the intended outcome.

Lawfulness includes more than avoiding riba. It includes honesty, genuine consent, clarity about what is being exchanged, the disclosure of significant defects, the fulfilment of contractual obligations and the avoidance of harm and injustice.

2. It should be accompanied by a righteous intention

A Muslim may intend through lawful work and trade:

  • to earn halal income;
  • to provide for their family;
  • to remain independent of begging;
  • to fulfil financial obligations;
  • to benefit customers and society;
  • to give charity;
  • to employ and support others;
  • and to obey Allah by dealing honestly.

The Prophet ﷺ said:

“Actions are only by intentions, and every person will have only what they intended.”

This hadith is narrated in both Sahih al-Bukhari and Sahih Muslim. It applies not only to ritual acts but to a person’s conduct more broadly.

A lawful activity that might otherwise be spiritually neutral can therefore become an act of obedience through a sincere intention.

Earning for one’s family can be charity

The clearest example is providing for one’s family. Earning and spending are ordinary features of human life, yet the Prophet ﷺ said:

“When a Muslim spends something on their family, seeking Allah’s reward, it is counted as charity for them.”

(Sahih al-Bukhari; Sahih Muslim)

The outward action is financial: a person buys food, pays rent or provides clothing. The inward intention, however, transforms it into an act of worship.

The same payment may therefore be viewed from more than one perspective. Legally, it fulfils a financial responsibility. Socially, it supports a household. Spiritually, it becomes charity when performed seeking Allah’s reward.

Honesty brings blessing into trade

The spiritual value of a transaction is not determined by intention alone. It is also reflected in the way the transaction is conducted.

Hakim ibn Hizam (may Allah be pleased with him) narrated that the Prophet ﷺ said:

“If the buyer and seller speak the truth and make everything clear, they will be blessed in their transaction. But if they conceal and lie, the blessing of their transaction will be erased.”

(Sahih al-Bukhari; Sahih Muslim)

The hadith does not simply discuss whether a sale produces profit. It directs attention towards barakah. A transaction may be financially profitable but deprived of blessing because it was built on dishonesty. Another may produce a modest return but carry great blessing because the parties were truthful, fair and transparent.

This is where commercial ethics become part of a Muslim’s worship.

The truthful and trustworthy merchant

The Prophet ﷺ is also reported to have said:

“The truthful and trustworthy merchant will be with the Prophets, the truthful and the martyrs.”

Al-Tirmidhi narrated this hadith and described it as hasan. Some later hadith scholars, however, criticised the continuity of its chain and regarded it as weak or mursal. It is therefore more accurate to cite it with this scholarly qualification rather than presenting its authenticity as undisputed.

Its meaning is nevertheless supported by the firmly authenticated teachings commanding truthfulness, trustworthiness and transparency in trade.

Three separate questions

It is helpful to distinguish between three questions that are sometimes confused.

How is the action classified?

Is it primarily an act of worship or a transaction? This depends on the original purpose for which it was legislated.

Is the action legally valid?

Did the prayer or contract fulfil its required conditions and pillars? This is a question of legal validity.

Will the person be rewarded?

This depends upon sincerity, obedience and the manner in which the action was performed.

A transaction may be legally valid without earning any particular spiritual reward. A good intention may transform a lawful transaction into worship, but it cannot validate something Allah has prohibited.

Similarly, prayer remains classified as an act of worship even when a person corrupts it through showing off. Its classification as worship and its acceptance by Allah are two separate matters. This is precisely the distinction highlighted by Ibn Abidin.

The wider objectives of Islamic law

This understanding also corresponds with the broader framework of the objectives of Islamic law. Imam al-Shatibi (may Allah have mercy on him) explained that the Shariah was established to secure the welfare of people in this world and the next.

The laws of transactions are a central part of that welfare. They protect people from having their wealth consumed unjustly, while enabling lawful trade, cooperation and economic activity.

Yet the Muslim does not pursue welfare independently of Allah. By observing the limits He has established, the pursuit of human benefit itself becomes an act of obedience.

Bringing worship into everyday dealings

A Muslim does not need to leave the marketplace to worship Allah. Worship can be present in the marketplace when the merchant refuses to conceal a defect. It can be present in the workplace when an employee fulfils the hours for which they are paid. It can be present when an employer pays fairly, when a debtor makes every effort to repay, and when someone turns away from a profitable opportunity because it involves riba or injustice.

Allah says:

“Surely my prayer, my sacrifice, my living and my dying are for Allah, Lord of all the worlds.”
(Surat al-Anam, 6:162)

“My living” encompasses the whole direction of a believer’s life. It includes prayer and fasting, but also earning, spending, buying, selling, employing, borrowing and fulfilling responsibilities.

The distinction made by Ibn Abidin is therefore not between worship and a life devoid of worship. It is between actions legislated primarily for devotion and actions legislated primarily to serve human interests.

All prescribed acts of worship are acts of obedience. Transactions also become acts of worship when they are lawful, ethical and carried out with the sincere intention of pleasing Allah. In this way, even the most ordinary parts of life can become a means of drawing closer to Him.

Shaykh Haytham Tamim 30th June 2026

Latest Blogs