The passenger eventually managed to pull his finger out of the door without any injuries.
(Disclaimer: Content in this video could be disturbing for viewers)
Social media was horrified to see the man's ordeal. Many suggested that the train should have a mechanism for accidents like these.
"He's lucky he was able to get his finger about before he suffered serious injury," wrote Aaron Barton.
"Both the train safety system and the passenger shall be blamed," said William Chan.
"There's an emergency stop lever inside the cabin. Someone from the inside could've pulled it," suggested Waleed Uddin. Click for more trending news
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.