An FIR has been registered against the five accused.
The incident took place Wednesday when Banwari Singh Yadav was with his granddaughter Poonam and some people opened fire at them, Superintendent of Police Pankaj Pandey said.
The incident was believed to be due to old enmity over a land dispute.
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.