Does a good intention make a forbidden act permitted?

The El Fatwa editorial teamUpdated Sep 5, 2026

Read next

No. A good intention corrects your purpose, not the ruling on the act. A deed stands only when two things meet: sincerity in the heart, and a form that matches the Sharia. If the second fails, the first cannot repair it.

Why this matters in my religion

Much of what good people fall into starts here — not from disregard for religion, but from "my purpose is good."

A man falsifies a document to get hired, so he can support his mother. An employee gives to charity from the company's money without the owners' leave. A young man takes money through a doubtful channel so he can marry and stay chaste.

The motive in each case is decent. But the question is not about the motive. It is about the act itself: does the Sharia accept it in this form?

The Qur'an makes the point about wealth taken wrongly, specifically:

﴿وَلَا تَأْكُلُوٓا۟ أَمْوَٰلَكُم بَيْنَكُم بِٱلْبَـٰطِلِ وَتُدْلُوا۟ بِهَآ إِلَى ٱلْحُكَّامِ لِتَأْكُلُوا۟ فَرِيقًا مِّنْ أَمْوَٰلِ ٱلنَّاسِ بِٱلْإِثْمِ وَأَنتُمْ تَعْلَمُونَ﴾

“And eat not up your property among yourselves in vanity, nor seek by it to gain the hearing of the judges that ye may knowingly devour a portion of the property of others wrongfully.” — Qur'an 2:188

Wealth taken wrongly is described as wrongly taken before anyone asks about the intention of whoever took it.

The idea, simply

Scholars describe a sound deed as resting on two pillars. *Ikhlas* is sincerity, doing it for Allah alone. *Mutaba'ah* is following the form Allah prescribed. The first is hidden in the heart. The second is visible in the act. Neither substitutes for the other.

The hadith most often cited here opens Sahih al-Bukhari itself:

“The reward of deeds depends upon the intentions and every person will get the reward according to what he has intended. So whoever emigrated for worldly benefits or for a woman to marry, his emigration was for what he emigrated for” (Sahih al-Bukhari 1)

Scholars read this as meaning that a deed follows the doer's intention, for reward and for validity. Intention can distinguish an obligatory fast from a voluntary one, for instance. It does not mean intention changes the ruling on the act's form. The hadith speaks to the heart of the one acting, not to the ruling on what is done.

IntentionForm of the actWhat follows
SincereMatches the ShariaBoth requirements are met — this is the goal
SincereBreaks the ShariaThe intention is commendable; the fault sits in the act
Mixed with showing offMatches the ShariaThe form is there; the cure belongs in the heart
Mixed with showing offBreaks the ShariaBoth are broken, and neither fixes the other

"Everyone does it"

This argument is weaker than the first one. A good intention at least carries sincerity. This one carries only numbers.

﴿قُل لَّا يَسْتَوِى ٱلْخَبِيثُ وَٱلطَّيِّبُ وَلَوْ أَعْجَبَكَ كَثْرَةُ ٱلْخَبِيثِ ۚ فَٱتَّقُوا۟ ٱللَّهَ يَـٰٓأُو۟لِى ٱلْأَلْبَـٰبِ لَعَلَّكُمْ تُفْلِحُونَ﴾

“Say: The evil and the good are not alike even though the plenty of the evil attract thee. So be mindful of your duty to Allah, O men of understanding, that ye may succeed.” — Qur'an 5:100

A crowd doing something does not make it right, and a small number doing something does not make it wrong. Evidence is the scale here, not a headcount.

So what actually changes a ruling?

A fair question. Intention is not among the things that change a ruling. Sharia does have real doors for that: necessity, coercion, an excuse of genuine ignorance, and recognized hardship.

A well-known legal maxim says necessity permits the forbidden. Its inseparable partner says necessity is measured by its true extent. The concession covers only what removes the necessity, not a door left open afterward. A scholar examines these doors case by case. You may not open the door of necessity on yourself from mere difficulty, want, or fear of missing an opportunity.

What this does not mean

This does not mean intention has no value. It is a condition of every deed. Through it, something permitted becomes an act of worship — spending on your family, or sleeping so you have strength for work.

It does not mean someone who fell into a prohibition with good intent is the same as someone who acted in contempt. There is a difference before Allah, and excuses of ignorance, misinterpretation, or coercion are a recognized door. But a scholar examines that door for a specific case — you do not open it on yourself.

Nor does it mean judging a named person. You can say an act carries a prohibition. What is between another person and Allah is not yours to rule on.

From life

A young man starts a phone fundraiser for a sick family. He writes the story honestly. Donations come in slowly.

Two days later he rewrites it, adding details that never happened, and a bigger number than the truth. Donations jump within the hour. He tells himself: the intention is good, and the money will reach the family anyway.

A friend says one sentence to him: the money will arrive, and you are responsible for the line you wrote.

He deletes the post, republishes the true story, and raises less. He sleeps easier. When someone later asks about the earlier version, he points them to someone who can advise on that money.

No ruling is given here on that fundraiser or that money. The point of the scene is that a good goal did not change what the method actually was.

What does this require of me?

  1. Examine the act on its own first. Ask what the act itself involves, before you ask about your intention.
  2. Watch for the sentence that ends thinking: "my intention is good." It comforts the self without answering the question.
  3. Do not treat headcount as evidence. How common something is around you is not an argument against the Sharia.
  4. If you believe you face a real necessity, present it. Do not decide it yourself. Necessity is sized by someone who knows its limits.
  5. Separate improving your intention from correcting your act. The first mends your heart, the second mends your deed, and you need both.
  6. If you find a flaw in money, paperwork, or a contract, ask how to fix it. Regret alone is not enough.
  7. Do not pass judgment on someone else who has done this. Advise them, and point them toward someone to ask.

When do I need to ask a scholar?

Ask when money in your hand came through a doubtful channel. Getting it right differs case by case.

Ask when you believe you face necessity or coercion. Neither is measured by how it feels to you.

Ask when someone else's right is involved — a donor, a partner, an employer, a spouse.

Ask when your income involves something doubtful and you spend it on your family. That question deserves its full detail, not a general answer.

And ask when you cannot tell a forbidden trick from a lawful way out. The difference between the two is fine, and it needs someone trained to see it.

Related