Federal authorities in New York have issued a subpoena for records pertaining to allegations that Anthony D. Weiner exchanged sexually explicit messages with a 15-year-old girl, a person with knowledge of the matter said.

Mr. Weiner was the subject of an article on Wednesday in The Daily Mail, a British newspaper, that said he had an online correspondence with the girl beginning in January that included suggestive texts and explicit messages sent over social media.

According to The Daily Mail, the girl, who was not identified, said she did not want to press charges “because she believes her relationship with Weiner was consensual.” Still, she and her father agreed to be interviewed out of concern for other underage girls, the publication reported.

It was not clear which records investigators in the office of the United States attorney, Preet Bharara, would subpoena. The person was not authorized to discuss the matter and spoke on the condition of anonymity.