Join PIF

How to Purify Stock Profits?

by Rakaan Kayali

September 14, 2023
7 min read

Table of Contents

Disclaimer: This post is for informational and educational purposes only, not financial or investment advice. The opinions are solely those of the author, not any organization. Consult a professional before making investment decisions, as all investments carry risk. The author is not liable for losses or damages resulting from the use of this information. Past performance does not predict future results.

The question of what to do when a stock goes from Halal to Haram to invest in is one that many Muslim investors struggle with:

  • Do you sell immediately and give all your profits to charity? 
  • Do you sell but hold on to profits since when you bought the stock it was halal? 
  • If it’s a really bad time to be selling do you hold on a bit and wait until conditions improve? Or until you’re at least able to recover your principal amount?

In this article, I’ll tell you how I handle a stock that goes from a halal rating to a haram one, and also how to calculate the purification amount for your stocks.

What to Do When a Stock That Was Halal Is Now Haram?

Since classifications of halal and haram are likely coming from automated stock screeners, it’s important we understand what stock screeners do to ascertain whether a stock is halal or haram. 

All screeners will look at haram revenue to be less than 5% of total revenue. 

We do the same thing at Practical Islamic Halal Finance; you can see our reviews for free on Practical Islamic Halal Finance.

Stock screeners will also use some measure of the amount of debt a company has.

Whether it’s debt/equity, debt/assets, or debt/market cap, compare it to a predetermined limit.

In the case of Practical Islamic Halal Finance, we focus on interest expense in relation to the size of the company’s operations.

Also, following PIF’s footsteps, some screeners have recently begun to look at ESG ratings as well.

ESG refers to the Environmental, Social, and Governance impact of the company on the various parties it comes into contact with.

Regarding these criteria, it’s important to understand that the commonly used 5% haram revenue limit is not mentioned in the Quran or Sunnah. It is a best-faith estimate and nevertheless, at the end of the day, a made-up number. 

There is also nowhere in the Quran or Sunnah where the amount of debt a company can have is capped at a certain amount. Debt isn’t even prohibited at all, interest is. This is why PIF focuses on the latter. 

However, even the interest standard which PIF employs uses a made-up number which is the 5% cap on (interest expense / total operating expense) to draw a line between interest expense that can be considered trivial and that which shouldn't.

Further, the ESG/Net Impact part of the rating is almost entirely subjective.

Company X is cutting down the Amazon rainforest but also found the cure for a terminal illness, so what’s the ESG score for that?

Additionally, in most cases, the service or app you are using is being driven by code that is completely oblivious to the circumstances and nuances of the company in question.

PIF’s net impact assessments are reviewed by experts before they are published.

Furthermore, the financial reports themselves which are being used to determine halal and haram ratings, are typically months old.

The SEC requires that companies report their annual earnings (form 10-K) no later than 60 days from the end of their fiscal year.

So by the time the stock screeners get this information and they change their rating for a stock, their information is already two months old. 

All this to say the following: 

Stock screening services are only, at best, subjective moral judgments based on very rough approximations of the truth a few months ago. 

Therefore, reacting to the results of a stock screener changing the rating of a company you invested in by abruptly making buy or sell decisions in your portfolio is probably not the wisest course of action.

For example,

let’s say the company you’re invested in ran a temporary marketing gimmick last quarter which included selling a pork product.

This pushes their revenue from haram sources, according to the stock screener’s rough estimations, from 3.5% to 5.5%.

Your average stock screener is going to issue a haram verdict on this stock for the next three months until the next quarter’s financials are released.

Does this mean you should sell your shares immediately?

  • The marketing gimmick was something that happened in the past, it’s not happening now. 
  • The percentage of revenue from haram sources is a rough estimation anyway because companies don’t normally provide the public with granular breakdowns of their revenue which are needed to make accurate calculations of haram revenue.
  • Additionally, the stock screener’s rough estimation of haram revenue based on old information only exceeded the made-up limit by 0.5%.

So when you see a stock screener change a rating from halal to haram, take it with a grain of salt.

Understand what caused the change before you make any rash decisions.

When to Sell a Stock for Halal/Haram Reasons?

I’ll tell you my rule and it comes from the following two beautiful hadith from the prophet Muhammad PBUH:

Al-Nawas bin Sam’an Al-ansari (may Allah be pleased with him) said: I asked the Prophet (peace and blessings of Allah be upon him) about righteousness and wrongdoing, He said:

Righteousness is in good character, and wrongdoing is that which wavers in your soul, and which you dislike people finding out about.

Wabisa bin Ma’bad may Allah be pleased with him said:

I came to the Messenger of Allah (peace be upon him) and he said, ‘You have come to ask about righteousness.’ I said, ‘Yes.’ So He, peace be upon him, grouped his fingers and pushed against my chest saying, ‘Consult your heart. Righteousness is that which the soul feels at ease with and the heart feels tranquil and wrongdoing is that which wavers in the soul and causes uneasiness in the chest, even if people repeatedly tell you it’s permissible

So Here’s How I Know When to Sell…

Whether I’m up, down, or sideways on my investment:

I sell it when it becomes uncomfortable for me to hold.

When it starts wavering in my soul or if I’m embarrassed to publicly say to my Muslim friends or my Muslim audience that I’m invested in this company, that’s when I sell.

There is a prerequisite to applying this rule which is that you have to understand and follow the companies you’re investing in. If you don’t know what you’re investing in, it’s pretty tough to form an educated comfort level about them.

I don’t really see much merit to the argument that you can keep a stock that you’re uncomfortable with from a halal perspective until you’ve recovered your principal.

If a stock becomes uncomfortable for you to hold from a halal perspective, sell it and use the proceeds to buy some other stock that you are comfortable with and recover your principal with the comfortable stock.

Plus there’s a practical incentive to doing things this way, in addition to a moral one, which is that if you sell at a loss, in most developed countries you can use this loss to lower your tax obligations.

How Do I Purify My Profits From Stocks?

Regardless of whether you sold your stock because you are no longer comfortable with it or you sold your stock for financial reasons, the way to purify your earnings is the same:

Purification Amount = Profit X (Revenue from Haram Sources / Total Revenue)

E.g. 1:

You bought Tesla for $100

Sold for $90

Profit = $0

Purification amount = $0 X (revenue from haram sources / total revenue) = $0

E.g. 2:

You bought Tesla for $100

Sold for $110

Profit = $10

Assume: 

Tesla’s Revenue from Haram sources = $5

Tesla’s Total Revenue = $100

Revenue from Haram sources / Total Revenue = $5 / $100 = 5%

Purification amount = $10 X 5% = $0.5

Now for My Method for Purifying Profits From Stocks

Purification amount = Profit X 10%

That is to say, to purify my earnings, every time I sell for profit, I take 10% of my profit, not my principal, and give it to charity. So let’s say I bought for $100 and sold for $110, my profit is $10 so I give $1 to charity as purification.

I don’t do this if I haven’t sold yet because if you’ve been in the market for more than 2 days you know that profits today can turn into losses tomorrow.

Only when I realize a profit from selling a position do I do purification which is not to be confused with zakat and is perhaps the subject of a future article.

Using my 10% rule for purification buys me some leeway.

I’m investing on the assumption that my companies, on average, don’t have more than 5% in income from haram sources. So if I’m ever wrong about this, I estimate 10% should more than cover my error.

Also, by donating 10% of my profit, I don’t have to go into the nitty-gritty of a company’s financials to figure out exactly what the purification amount should be. The time I save by not having to do that accounting is more than worth paying a little extra for purification.

Plus, you can think of any extra that you gave to purification as an investment in your akhira.

So by giving to charity, you’re reinvesting your profits insha’ Allah in an investment that is guaranteed by Allah subhanahu wata’allah to be profitable.

On top of all this, the 10% I donate to charity is tax-deductible. 

In Summary

  • Use halal stock screening apps for general guidance but don’t mistake them for holy text.
  • Sell your position when you feel uncomfortable with it - A good gauge of this is to ask yourself how would you feel telling an observant Muslim friend who is familiar with this company that you are invested in it.
  • For purification - Regardless of anything, the way to purify is the following:

Purification Amount = Profit X (Revenue from Haram Sources / Total Revenue)

Want to use my method?

Purification Amount = Profit X 10%

Start your halal investing journey with our 7-day email course

Halal Wealth Simplified

Confidently build and monitor your own Shariah-compliant investment portfolio
Follow expert halal portfolios
Real-time buy/sell prices
Exclusive, insightful content
Learn More

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Join thousands of satisfied Muslim investors

Start your halal investing journey with our 7-day email course

Practical Islamic Halal Finance

Empowering Muslims to make smarter and effortless personal finance and  investment decisions, aligned with Islamic values.

Copyright ©2025 Practical Islamic Halal Finance
magnifiercrosschevron-down-circle