The incident took place in Ara jail, about 60 km from here.
According to police, the clash followed heated exchange of words between the groups. One of the prisoners was beaten up badly.
"The injured prisoner was admitted in hospital," a police officer said.
Additional security forces were deployed to bring the situation under control.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)