An American Airlines mechanic has been accused of sabotaging a plane with 150 passengers aboard after allegedly being upset over stalled contract negotiations.

Abdul-Majeed Marouf Ahmed Alani is claimed to have glued foam inside a tube that would disable navigation systems in an aircraft at Miami International Airport, in Florida.

The veteran employee allegedly tampered with the plane to cause a delay or have the flight cancelled 'in anticipation of obtaining overtime,' Miami Herald reported.

Luckily no passengers were injured on the flight set for Nassau, Bahamas, on July 17, because an alert was triggered as the pilot powered up the plane's engines.

Alani was arrested and is due to appear at Miami Federal court on Friday charged with 'willfully damaging, destroying or disabling an aircraft.'

An American Airlines plane was allegedly sabotaged by a veteran employed who was bitter about contract negotiations stalling and wanted overtime

The damage was noticed as the pilot fired the plane's engines before taking off to Nassau, the Bahamas from Miami International Airport (above)

The criminal complaint was launched after TSA federal air marshals claim to have identified Alani, while reviewing video footage.

During the alleged seven-minute sabotage, the defendant is believed to have deliberately caused an obstruction with a hard foam material, the Herald wrote.

Three other AA mechanics, who were with him during the claimed attack, allegedly helped investigators to identify Alani, who walks with a limp.

If an alarm wasn't sounded on flight No. 2834 the pilot would have been forced to fly the plane manually.

The air data module that was affected reports aircraft speed, pitch and other critical flight data, according to the affidavit.

It's claimed that Alani was upset over difficulties during contract negotiations in a 'bloody' battle between AA and the 12,000 employee mechanics' union.

The spat led to legal fights at the company's headquarters in Texas, this summer.