A man who was trying to take a video of himself at a railway station in India's Hyderabad city was hit by an incoming train, media reports say.
The 25-year-old man was filming the clip on his mobile phone at Borabanda Railway Station on Jan 21, the BBC reported.
A video that went viral on social media showed him talking to the camera, while a train approached from behind him, blaring its horns.
He was hit by a Multi-Modal Transport System (MMTS) train, which is a suburban rail system in Hyderabad, a city in southern India's Telangana state.
He received "serious injuries on his right hand, head and chest, but is out of danger now", a spokesman for the Telangana State Railway Police told The Indian Express.
The man had persisted on taking the video despite being warned about the approaching train, the South Central Railway said in a statement reported by Indian news site The Hindu.
Bharatnagar Railway Protection Inspector Sudhakar Rao told The Hindu that the man was fined 500 rupees (S$10).
The inspector said the man escaped worse injury as the locopilot applied the emergency brakes and slowed the train.
In October last year, three college students were killed by an express train while taking photos of themselves on a railway bridge in the town of Bidadi, in the southern state of Karnataka.
A study by scholars from Carnegie Mellon University and Indraprastha Institute of Information Delhi found that of 127 reported selfie deaths worldwide from March 2014 to September 2016, 76 of them occurred in India.
In 2016, India's federal government asked states to ensure that there were warning signs at tourist spots deemed dangerous for selfie-lovers.
India's financial capital Mumbai declared 16 no-selfie zones after several deaths at those locations.