The child cannot leave the country without a passport. Don't sign the paperwork to allow a passport.
If forced to go to court over the passport
issue, make sure that you have all concerns addressed with past behavior of the mother. If you think the child will come back in two weeks, then allow her to travel to her mother's country. Which country are we talking about? There are vast differences between countries and preventing parental kidnapping.