Like a scene out of a movie, a pair of passengers caught a snake during a 2-hour Aeromexico flight on Sunday after passengers spotted it, according to a social media report.

Indalecio Medina, rector of Universidad Politecnica de la Region Laguna in Luchana, Coahuila, took to Twitter and Facebook on Sunday afternoon with a 27-second clip of the bright green snake moving near a plane's overhead bin.

"The flying snake," he wrote on Twitter. "A unique experience on the flight from Torreon-Mexico (City)."

The snake was found on flight 231, which makes the 500-mile trip once a day from Torreon, Coahuila, to Mexico City.

The airline confirmed that a snake was found on board a flight Sunday afternoon in a statement released to Publimetro.

The company is working to determine how the snake got on the plane.

"To Aeromexico, the safety of its passengers and crew is the highest priority," the company said in a statement.

Medina wrote on Facebook that he and another passenger caught the snake using a blanket and magazines to keep the snake still.

"I had to play snake catcher with a blanket, and we obviously gave it some magazines to read," he wrote. "But don't worry … The snake was alive and kicking, frightened but without having paid for its ticket. Best of all… (we got) priority landing at (Mexico City International Airport) and animal control was waiting for the unexpected traveler."

Animal control officers took custody of the snake without incident, Medina said.