A Jet Airways worker overheard Clince Varghese from Thrissur district saying he had a "happy bomb". The ground staff told the supervisory officers who in turn informed the CISF and the domestic terminal manager, he said.
He was to take flight 9W 825 Cochin-Mumbai of Jet Airways. Subsequently, Mr Varghese was offloaded and his baggage was checked throughly.
He was later handed over to the police. During questioning, he told officials he was expressing happiness to his friend in Mumbai on Facebook chat, the official said.
Another person accompanying him was also detained and questioned, he said.
Jet Airways spokesperson in a statement said the flight was rescheduled to take off at 14:02 hours, with a delay of two hours on account of a security-related matter.
"The airline has informed the authority concerned of the same for further necessary action and has offered full cooperation as required," the spokeperson said.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.