Welcome to Just answer !
Well, it must have been very tough on you to hear her say those words as it must have hurt you to the core .
I believe that your ex is venting out his frustration and anger by applying these tactics where in he is trying to influence the little child and making her say bad things about you , but i feel that at her present age she does not understand the meaning of the words that she says , and eventually when she starts understanding the world better , she will understand how good a parent you are , and how his father is trying to malign your image through her .. So at the moment there is no need to panic , but it does not mean that you should overlook it , because this can be very well repeated in future as well , so i would suggest you that you consult your lawyer , and bring this bad influencing tactic of your husband to his notice and see what he can do about it ...
Secondly , i think you have handled the whole situation like a mature and balanced headed adult , and i suggest that you continue this in future also ,and try to spend as much time possible during her growing up years and this experience of hers with you as her parent would make a huge positive imprint on child's tender mind so much so that this , would pave way for her to understand who is her well wisher and the right person as she grows up into an adult..
I hope this helps..
Wish you all the best..
Please press the ACCEPT button if you are satisfied with the answer as only then will i be credited for my service.