Compound for which ΔHf is negative is more stable than the compound for which ΔHf is positive. In other words, exothermic compounds are more stable than endothermic compounds.
Further, for exothermic compound, more the heat evolved during the formation of a compound from its elements, more stable it is. As such HF with
ΔHf = -161 kJ is more stable than HC1 with
ΔHf = -92 kJ