Praise be to Allah.
There is nothing wrong with investing this waqf in shares in a company that does not deal with riba, if this company is proven to be safeand free of risk, and it is permissible to offer sacrifices using the income generated. And Allah is the source of strength. End quote.
Majmoo‘ Fataawa Ibn Baaz (20/21).