Authorities say a mob in central Mexico has beaten three suspected kidnappers to death.

Mexico State prosecutor Alfredo Castillo says the mob also set two of the men on fire during the Friday night attack.

Castillo said Saturday that 23 people in the village of San Mateo Hitzilzingo have been detained.

He says about 300 angry people took the three men out of the town's police station and began beating them after a woman screamed that they were kidnappers.

Local media reported that the men had tried to kidnap a teenage boy but Castillo wouldn't confirm that.

He said authorities are trying to determine why police kept the men at the police station instead of turning them over to state investigators.