Mr Prakash, a resident of Kamalpura village, 120 km away from the state capital Jaipur, was released soon after his arrest yesterday, a police official said.
Mr Prakash had a verbal duel with Todabhim sub divisional magistrate (SDM) Jagdish Arya after he raised the problems of roads in his village during a 'Nyay Apke Dwar' camp.
After a heated argument, the SDM reportedly pushed, dragged and thrashed the villager before handing him over to police, they added.
"He was arrested under section 151 of CrPC on complaint by the SDM and was released yesterday," SHO of Balghat police station said.
Karauli district collector Abhimanyu Kumar alleged that Mr Prakash had created nuisance and misbehaved with the SDM.
"A probe has been ordered in the incident but primary investigation reveals that the man had misbehaved with the officer. No action against him has been taken so far," the collector said.
Election Results for Lok Sabha Election 2019 will be out on May 23. Get the latest election news and live updates on ndtv.com/elections. Catch all the action on NDTV Live. Like us on Facebook or follow us on Twitter and Instagram for news updates from each of the 543 parliamentary seats for the election 2019