The flight left at 2037 GMT Monday and returned to Madrid while flying over Morocco, according to a map published by the G1 news website.
Paris-bound Air France plane diverted to Montreal after threat
TAM "was notified by Spanish authorities of an alleged bomb threat aboard Flight JJ8065. The plane returned to its airport of origin, landing safely," the airline said on Twitter.
Another TAM flight on the same route was forced to make an emergency landing due to turbulence in September 2013, injuring 15 people.
Turkish Airlines flight from US diverted to Canada after threat
The jolt only lasted about 10 seconds, but it was enough to throw passengers without their seat-belts out of their seats.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ