I trade in shares and this means that at times I keep shares for a long while, and I may sell them on the same day I buy them. Is this permissible? Can I invest in all stocks?
To start with, buying and selling shares for profit is permissible. The shares thus bought and sold should be treated in the same way as other merchandise. Therefore, on the day when the holder pays his Zakah, he should include the value of all the shares he is holding, whether he has retained them for a long while or just bought them, as part of his assets and must pay Zakah on them according to their value on the day. The rate of Zakah on such assets is 2.5 percent of the total value. Here we distinguish such a person from one who buys shares in a particular company and retains them as he feels the company is trading well. He is looking to receive dividends for his investment. Such a person pays Zakah on the dividends he receives at the rate of 10 percent. His Zakah is due on the day he receives the dividends.
As for the type of shares one can buy and sell, the important point to clarify is the position of a person so trading in shares for the duration between buying and selling them. Is this person an owner of a portion of the company whose shares he holds, or simply a co-traveler for part of the way, or indeed neither? Equally important is to consider whether by buying and selling these shares he is promoting its business. If he is an owner of part of the business, even though it is a tiny part, he must not hold shares in any business that Islam forbids. Thus, he cannot be a shareholder in wine brewing or selling companies, or in usurious financial institutions, or entertainment companies that rely on practices which Islam forbids. It is indeed far more preferable to avoid dealing in such shares whatever his position is.