Magnesium react with hydrogen fluoride
Mg + 2HF → MgF2 + H2
Source: https://chemiday.com/en/reaction/3-1-0-5114