Thank you for sharing your situation with the Wefugee Community!
As I remember from your last question, you mentioned a granted residence permit? Referring to which reason/law is it supposed to be issued? Might be interesting to elaborate on that.
If the father is not taking the responsibility for the child, i.e. not paying for it, the Jugendamt (Beistandschaft) will help you to push your rights.
If you are seriously in danger of being deported is depending on many factors. You might want to discuss your individual situation with a legal adviser in a counselling centre? We are happy to support in finding one in your area. However, the authorities will not deport you without your child or separate you in that sense.
Please get back to us with any further question.
All the best,