The accused entered the place of worship last evening to attack a person who was offering prayers inside, police said.
The person had a confrontation with one of the accused earlier following which the latter gathered supporters and attacked him with sticks, they said.
Others who came forward to save him were also attacked, including the head of the place of worship, they said.
A case has been registered against ten persons who are absconding, police said, adding that a search is to nab them is on.