Ref. No. 39/1167
In the name of Allah the most Gracious the most Merciful
The answer to your question is as follows:
You are not obliged to make inquiries of the ingredients used in the medicine. You can use the medicine prescribed by your doctors. Nevertheless, if it is clearly mentioned in the contents or you came to know the facts from a reliable source then you must go accordingly.
And Allah knows best
Darul Ifta
Darul Uloom Waqf Deoband