Professor wants my "non-funded" master's data I have recently abandoned my master's program. Long story short, she was a very strict director who always put me down. I didn't get along with her, and she never gave me any emotional or financial support. Now that I have quit, she asks I do a backup of all of the work I have done for her. I don't think it is fair that I have to give it to her, especially since there was no funding AND she kind of forced me to quit. I can't find any rules that adresses this type of situation. 

Should I give her what I have done since I produced those results while being her student?

Here are more details: After 4 semesters, she told me that I didn't have the abilities to complete the masters program, and that she didn't know what to do with me. While it is true that my work wasn't the best, there also were a lot of problems with the actual project which explains why we weren't going as fast as she would have liked. She went on to talk to the dean, and I went to see my co-director for some alternatives so that I can complete my studies. He came up with a new project,with less interactions with her and more with him, which she rejected. She said that seeing how I have "not produced a single result", she won't start a new project. if I want to continue with her, I have to complete a number of tasks (on the original project) within the semester, and if I fail to complete them, the project is over. Since I was (still am) in a deep depression from working with her, I refused to continue seeing how I don't want to get psychologically weaker. I left school and hoped to get all of this behind me, but she then writes to me saying that since I decided to abandon, I need to give her my all of the data, articles, and other works. I don't understand why she wants my work when she says that I was an incompetent student who hasn't produced any results.

She never did any investment apart from giving her time, I paid for all of my studies and did my own research alone. I don't think I owe her anything.
She never did any investment apart from giving her time


Whoa, there! That sounds like a significant investment, to me.  Indeed, it's hard to see what other investment you could reasonably expect her to make. She's not responsible for your funding; she can't do the work for you because it's supposed to be your master's project, leading to your degree, not hers.

Nonetheless, it is typical for an advisor to provide sufficient guidance intellectual contribution to the project that they could reasonably expect to be a co-author on most papers coming out of the project. This is joint work and it belongs as much to your collaborators as to you, even if you don't get along with your collaborators any more.

What does it cost you to hand over the material? Do you expect to benefit from it in some way that will be diminished by giving it to the professor? If it costs you little or nothing, it's hard to see any justification for not handing it over.  "I don't like her" is spite, not justification.  The main benefit that I see from handing it over is that you can expect to be a co-author of any paper that results directly from the work you have done. And, if you do hand over the data, you should make this a condition.

You should also consider the impact of your decision on your future career. If you intend to leave academia then it's probably minimal: you're unlikely to be asking for a reference from this professor and it's unlikely you'll have any interaction with her in the future. However, if you intend to stay in academia, you need to think carefully about this. People's perceptions of your actions will depend very much on who they think was at fault. If, for example, your professor has a reputation of being difficult, maybe you gain sympathy from the community. However, if she has a reputation of being reasonable, trustworthy and easy to work with, there's the danger that you acquire the reputation of being difficult to work with, falling out and torpedoing projects.