At least six passengers were killed and more than 100 others were hurt when a passenger train collided with a freight train near the central Pakistan city of Multan.
The pre-dawn accident happened on Thursday near the town of Sher Khan in Punjab province 15 minutes after the freight train stopped after hitting a man on the track, railway official Saima Bashir said.
She said the freight train had stopped so its driver could remove the body of the man who had been crushed to death while crossing the railway track.
"The driver of the passenger train did not see the red signal which went up after the man was crushed to death by the freight train," she said.
Ms Bashir said the authorities have ordered a probe to determine the exact cause of the accident, but initial investigations suggest the driver of the passenger train was at fault.
Rescue official Kalim Ullah said six bodies and more than 100 injured passengers were taken to hospital, and some of the injured were listed as being in a critical condition.
TV footage showed derailed carriages and the wreckage of the train as ambulances rushed away.
Interior minister Chaudhry Nisar Ali Khan expressed sympathies for the families of the dead and injured.
Train accidents are common in Pakistan, where tracks and bridges are often poorly maintained.