According to a Northern Railway spokesperson, 22 trains to Punjab and 7 to Haryana have been cancelled. The trains would have made 74 trips over the next four days.
"We had received a request from the Haryana government to cancel trains in the state in view of apprehensions on the law and order front," he said.
The spokesman said no such request was received from the Punjab government.
The case was registered against the Dera chief in 2002 by the Central Bureau of Investigation (CBI) on the directions of the Punjab and Haryana High Court after anonymous letters were circulated about the alleged sexual exploitation of two 'sadhvis' (female followers) against him.
Ram Rahim has, however, denied the charges.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.