When in a saturated solution of NaCl, HCl is passed, pure precipitate of NaCl is formed. This is due to the fact:
That the ionic product of NaCl exceeds the solubility product of NaCl
Precipitation occurs when ionic product is more than the solubility product.