JWoww told police her estranged husband, Roger Mathews, was harassing her by filming her without consent, which is why he got kicked out of their home ... sources close to the couple tell TMZ.
As we reported ... cops hauled Mathews out of the family home early Friday morning per a restraining order JWoww got in the dead of night. Roger claimed the 2 had a disagreement earlier in the evening, but he did nothing wrong and was blindsided by police when they demanded he leave.
We're told the 'Jersey Shore' star waited until later in the night when Roger went to bed to contact authorities to claim he was harassing her ... which was enough to get him booted.
Surveillance video from inside their home during the incident shows JWoww telling cops Roger's "not a bad dad" and presumably wants the restraining order to only cover her. But, apparently cops said the temporary order bars Roger from contacting the entire fam, and if she wants it limited she'll have to take it up later in court.
Snooki hinted at harassment allegations when she claimed Roger was taunting JWoww by recording her with his phone to get a rise out of her. Mathews admitted recording JWoww on his phone, but only because his attorney advised him to do so.
We're told Roger is hoping more surveillance footage from the incident at their home gets released because he has nothing to hide and believes it will vindicate him.
Our sources also say the 2 have been doing couple's counseling for the past 3 months and Mathews was hoping to work things out, but JWoww told him recently she had no intention of reconciling ... and was only trying to keep things civil for the kids over the holidays.
We're told Roger's in the same boat now -- it's all about the kids ... not saving the marriage.