It is permissible to make waqf of shares in a company. However, the company’s business must be halal and it must not have any sort of haram sources.

And Allah knows best!

(Mufti) Billal Omarjee