
"Petitioner's (Britney's) visitation with the minor children is suspended pending Petitioner's compliance with the court orders," the order said.
Spears, 26 and Federline, 29, split up a year ago after two years of marriage and since then, her life has veered out of control despite a stint in rehab.
The pair have been embroiled in a bitter custody dispute, and in recent months Gordon ordered the boys should live with Federline under tightened rules regarding Spears' visits.
The singer has been ordered to get coaching on parenting skills, seek counseling and undergo random drug testing. Gordon has said evidence showed she was a frequent user of "controlled substances and alcohol."
Spears is due in court on October 26 for another custody hearing.