In discussing the distinction between Fiqh and Sharia, IslamicLearningMaterials.com highlights the example of smoking:
...initially, Muslim scholars ruled that smoking was disliked because of the smell and it was imitating non-Muslims. But it wasn’t forbidden. ... However, when it was discovered that smoking cigarettes can be deadly, Muslim scholars ruled that cigarettes are forbidden in Islam.
...Shariah cannot be changed. But Fiqh can change based on new information.
In this example, we see that the fiqh ruling changed based on scientific discoveries.
(The related question about smoking here is: Is smoking allowed in Islam?, which doesn't go as far as to declare smoking forbidden, so it's possible that IslamicLearningMaterials.com is not fully accurate, but this should be irrelevant to the question.)
Question: Are there things which were considered halal at the time of the Prophet, but are now considered haram due to scientific discoveries?