English is odd: "a salt" includes $\ce{CaF2}$, $\ce{NH4Cl}$ [as @ortocresol states] and $\ce{NaCl}$ as well as many other compounds. Just "salt", though, implies "table salt", $\ce{NaCl}$. So which do you mean?
Any gas that can react with an acid to produce table salt, $\ce{NaCl}$ must contain sodium, then. $\ce{NaOH}$ has a boiling point of 1,661 K, so bubbling $\ce{NaOH}$ vapor into hydrochloric acid would work. For that matter, Na boils at 1,156 K, so would be easier to do, though it also produces $\ce{H2}$ (as well as water) as a byproduct.