The band's Louis Tomlinson and Zayn Malik are heard joking about illegal substances as they smoke a rolled-up cigarette

A video appearing to show One Direction members Louis Tomlinson and Zayn Malik smoking a “joint” in the back of a car has emerged online.

The video has been published by the MailOnline, which claims it was filmed on April 27 while the singers were being driven through Lima, Peru on their way to a gig at the Estadio Nacional.

The five-minute video appears to be filmed by Tomlinson, who is heard saying, “So here we are, leaving Peru. Joint lit. Happy days!”

Malik is then passed the rolled-up cigarette and starts smoking while Tomlinson, who allegedly narrates the video, asks him “What do you think about that kind of content?” and Malik responds “Very controversial”.

He then moves the camera to show a police on a motorbike driving past. “He’s having a look,” he says. “He’s thinking, ‘I’m sure I can smell an illegal substance in there’. And he’s hit the nail on the head.”

It is not illegal to possess a small amount of cannabis in Peru. The rest of the band (pictured above) are not present in the video.

One Direction’s management told the BBC: “This matter is in the hands of our lawyers.”