Hi @deepak and @kamal
If the company is terminating you because they claim that you are not performing well, they should be able to prove it.
If they have given you a verbal warning to improve your performance and after some time they have given you a written warning saying that your performance was still not satisfactory and pointing out exactly what you need to do in order to achieve what they want, and a reasonable time to adjust it, and after that period of time they still think your performance is not good, then they have more reasons to justify your termination without paying up to 3 months as compensation
But even then, if you feel that their judgment is not fair and they cannot prove that your performance is not satisfactory based on tangible facts, you can file a complain at the ministry of labor and the court will decide if you should get any salary as a compensation for your termination ( up to 3 months salary )
But as you mentioned, they didn't issue any warning. So how can they prove that your performance is not good? If you think that it's not a fair judgment from your company, and if you think you were performing well, you should file a complain.
That's my opinion based on what I know.