This is just terrifying to watch. An Air Canada flight's emergency landing was caught on video by one passenger after the aircraft experienced trouble on Monday, February 3. The plane was heading from Madrid to Toronto Pearson but was forced to return to the Spanish airport after facing a pretty horrifying emergency just after take-off.

According to CTV News, Air Canada Flight 837 had departed from Adolfo Suarez-Barajas international airport and was expected to land at YYZ at 3:40 p.m. on Monday.

However, reports of trouble quickly began spreading on social media.

With a popped tire and engine trouble, one passenger shared the moments during the flight, from Spain's military help to the safe landing back in Madrid.

Thankfully, nobody was injured, but videos and photos taken from the plane by Twitter user @thelastfedor illustrate the scary extent of the urgent situation.

"So just at take off there was a huge bang under my seat and then I saw smoke and flames from the left engine. This pic is from a quick video I took and one frame shows the fire for a split second," read one tweet.

That message accompanies what appears to be a screenshot of a video showing flames coming from the plane's engines.

And @thelastfedor, whose display name reads Aaron C., continued to document the progress of the emergency.

"We will be landing in an hour. It is a tire that went into the engine," read another of his tweets.

"We still have other tires and a military plane just checked us out to make sure all was ok."

Air Canada subsequently explained that the plane had experienced an engine issue, per Global News.

There were 128 passengers and eight crew members aboard, according to the airline's statement.

According to CTV, the pilot decided to return to Madrid and circled the airport in order to use up fuel and lighten the aircraft for landing.

"The aircraft, a Boeing 767-300, is designed to operate on one engine and our pilots are fully trained for this eventuality," said Air Canada.

According to The Canadian Press, via CBC, Spain's Defence Ministry issued an F18 fighter jet from a military airport to check on the damage done to the landing gear of the plane.

And further footage shared by the Twitter user after the plane had safely landed back in Madrid shows just how close the jet got to the commercial aircraft.

A spokesperson from Enaire, Spain's air navigation authority, suggested the plane's landing gear didn't fold up properly after take-off and it is possible a piece of the tire could have damaged the engine, according to CTV.

In a clip showing the eventual emergency landing, passengers can be heard cheering.

According to CBC, Air Canada says all of the 136 people on board of the flight will be given hotel rooms and rebooked on other flights.

Narcity has reached out to Air Canada and @thelastfedor for more information.

*This cover photo has been used for illustrative purposes only.