German police have announced that a man armed with a firearm has taken a child hostage at Hamburg Airport.

Iran PressEurope: German media reported that the man threw two Molotov cocktails onto the runway, causing a fire near a plane that was extinguished.

According to media reports, a dispute over the custody of a child could be the motive for the hostage-taking, and negotiators are already on the scene.

Hamburg police said on Saturday they were dealing with a hostage situation after a man drove through a barrier onto the grounds of the city's airport with a child.

The airport closed for all takeoffs and landings shortly after the incident at around 8 p.m. local time.

The car with the 35-year-old man and 4-year-old child was parked under a plane, a police spokesperson said, and officers were at the scene with a large presence late on Saturday.

Police said it was likely a custody dispute. The mother told police the father had been in contact with her about the act.

Police would not confirm their earlier statements that the man was armed and had fired shots.

A spokesperson for the airport said 27 flights had been affected.