Cairo: An Egyptian man has been ordered to pay a fine of 500 Egyptian pounds (Dh116) after he had boarded a passenger train along with his donkey in violation of rules, rail authorities have said.

A photo of the animal latched onto a pole aboard the train went viral online, triggering sarcasm.

The state-run rail agency said the donkey's owner had boarded the train that was on a journey from the province of Qena to the city of Luxor in southern Egypt on Saturday and that he threatened to jump to his death from the train after rail officials requested him to leave.

After the train arrived at the Luxor station, he was probed over his illegal conduct and ordered to pay the LE500 fine, according to the rail agency.

"The authority appeals to passengers to observe regulations when they use trains," it added in a statement".

Last October , an Egyptian vendor died after he was forced to jump from a moving train in the Nile Delta city of Tanta for having no ticket. The train conductor involved in the high-profile incident is being on trial.