Mohammed Kafil from Bihar was injured when some youths beat him up in a train while he was going to Deoband from Delhi yesterday, they said.
The incident took place between Shamli and Thanabhawan on the Delhi-Saharanpur route in Shamli district, they said.
A case has been registered against the two unknown miscreants, police said, adding that no arrest has been made so far.
Following the incident, an angry mob protested at Thanabhawan, demanding arrest of the culprits.