I am so, so glad that she's okay.
If he did this on purpose to "prove you wrong," then what other danger could he put her in? You need to consider doing something to limit his time with her if he's going to endanger his daughter for the sake of mind games wtih you....