Is it permissible to invest in a company that sells its software and technology to various companies from different sectors where some of them may have haram businesses?

Investment
Is it permissible to invest in a company that sells its software and technology to various companies from different sectors where some of them may have haram businesses?
Sayyed Mohammad Al-Musawi, Sayyed Mohammad al-Musawi is originally from Iraq and heads up the World Ahlul Bayt Islamic League in London. Other than being involved in various humanitarian projects, he frequently responds to... Answer updated 4 years ago
  1. If all the products of the company are usually suitable for lawful business but some persons can misuse it, then it is permissible to invest in it. But if any product is designed for unlawful business like manufacturing alcohol bottles or a software for gambling or usury or marketing alcohol, etc, then it becomes unlawful to invest in such company.

Wassalam.