Former congressman Anthony Weiner will plead guilty in federal court on Friday to a sexting case involving a teenage girl, sources close to the case said.