The correct way to say this would be: "I'm saving money to buy a car". The verb must be used in infinitive form because it is an action. "For buying" is not correct. When using a gerund, for example "I'm saving money for shopping", shopping is a noun, not a verb. It is not an action. It is a concept.