A captain told Justin Bieber and his friends to stop smoking marijuana last week on a chartered flight that landed at Teterboro Airport as the 19-year-old pop star and friends traveled to the Super Bowl, a law enforcement source said Wednesday.

Bieber and an entourage that included his father, Jeremy, also verbally harassed a flight attendant so incessantly that she spent much of the flight in the cockpit to avoid them, said the source, who has knowledge of the investigation.

Additional details emerging Wednesday raised questions about whether the safety of the plane, which was searched for drugs on Friday by federal officials after it landed, was jeopardized while it was in the air between Toronto and Teterboro.

NBC reported that marijuana smoke was so thick on the plane that pilots wore oxygen masks to avoid inhaling it even though they were in a separate, pressurized cabin.

Bieber, his father and 10 friends were detained at Teterboro Airport, but were released after federal agents and dogs searched the plane, finding no drugs, law enforcement officials have said.

The Federal Aviation Administration, which has jurisdiction on matters related to flights in the United States, did not respond Wednesday when asked whether it was conducting an investigation.

An FAA spokeswoman said in an email only that the agency had not issued a report, in response to NBC saying that it obtained a report about the incident, without indicating where it originated. The FAA spokeswoman did not respond to additional questions.

Law enforcement officials said last week that agents with U.S. Customs and Border Protection and the Drug Enforcement Administration met the plane when it landed. They said they saw smoke when they entered the plane and detected an odor of marijuana.

Federal officials and the Port Authority of New York and New Jersey, which runs the airport, declined to discuss the stop Wednesday.

A customs spokesman, Jaime Ruiz, said that all international flights are met by customs agents, and some are randomly searched. A spokesman for the Port Authority said passengers on international flights at Teterboro typically are taken to one of two areas to be processed by customs agents.

It was unclear on Wednesday whether the pilots notified the authorities in advance of landing at Teterboro, or what measures the company that leases the plane, Meridian Air Charter of Teterboro, has taken in the aftermath of the flight. A woman answering the phone at Meridian said the company would not respond to questions.

The company advertises the plane in question, a luxurious Gulfstream IV jet that seats 22 people, on its website. Photos of the interior show wide, swiveling leather seats in a forward section with additional seating in the rear, linen table settings in one area and a galley stocked with liquor.

The NBC report said the plane’s captain told Bieber and his friends to stop smoking marijuana on “several occasions.” Citing law enforcement sources, the report said customs agents questioned Bieber separately at the airport because he had been “argumentative and abusive” during past interviews while accompanied by his “security team.”

Bieber admitted to smoking marijuana and drinking alcohol to authorities, and drug-sniffing dogs alerted agents to the possible presence of drugs on the plane, NBC reported. No drugs were found during the initial search of the plane, the report said, but bags that appeared to have once contained marijuana were found after Bieber was allowed to leave. Those bags could not be connected to Bieber or his entourage, the report said.

The plane’s pilots declined to press charges, according to the report. The flight attendant told the authorities that she would never again work with Bieber, the report said.

Bieber, who is a Canadian citizen in the United States on a work visa, has had numerous brushes with law enforcement in recent weeks.

He was charged in Toronto last week with assaulting his limousine driver on Dec. 30. He was pulled over in Miami on Jan. 23 for allegedly drag racing in a rented Lamborghini, and tested positive for marijuana and Xanax. The Miami police also charged him with resisting arrest. In California, where he lives, he is under investigation in connection with an egg attack that damaged a neighbor’s house.

His longtime publicist, Melissa Victor, has not responded to several emails over the past week seeking comment about the Teterboro incident.