I am having difficutly in finding out a true advice on my job whether it is halaal or haraam. I am working in UAE with a stock broking firm facilitating investment in indian stock market for Indians in UAE. No speculation or gambling in permitted in UAE so our company is not allowing that to our customers. Our customers are mostly retail individuals and they include non muslims also. Some of them buy stocks which are not shariah compliant like banks, hotels etc. My companys income is brokerage earned on the transactions and it includes the brokerage from the above kind of deals also but a small percentage. I am heading the operations divisions for the last few years and it constantly worries me whether my salary is haraam.
It is permissible to deal in permissible stocks, but not those which are haraam or mixed. Haraam stocks are stocks in riba-based banks; tourism companies and hotels which promote and help in immorality; facilities that make alcohol and commercial insurance companies. See the answer to question no. 112445.
It is not permissible to help in buying stocks that are not permissible according to sharee‘ah, because Allah says (interpretation of the meaning):
“Help you one another in Al‑Birr and At‑Taqwa (virtue, righteousness and piety); but do not help one another in sin and transgression. And fear Allaah. Verily, Allaah is Severe in punishment”
Based on that, if your work involves facilitating the purchase of the stocks or helping in that in any way, then this helping is haraam, and the salary earned from that is haraam. You should try to leave this company or move to a department which is free of helping in haraam matters, because the sin is not limited to the one who directly commits the haraam action; rather the one who helps in it, approves of it or promotes it is also affected.
And Allah knows best.