The rally was taken out by activists of the Hindu Yuva Vahini and Bajrang Dal in the wake of the killing of a youth, Chandan Gupta, in Kasganj last week.
Tilhar police station in-charge Razi Ahmed said, "Workers of Hindu Yuva Vahini and Bajrang Dal were today taking out a motorcycle rally, when there was a dispute between two of them over money."
One of the workers hurled a stone while another was beaten up allegedly by fellow volunteers, he said.
Senior police officer Subhash Chandra Shakya said a case was filed and two people identified as Brijesh Kumar and Govind were arrested.
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.