The incident occurred at approximately 6:42 p.m. (9:42 p.m. ET), according to Joseph Silva, spokesperson for Stockton Police Department.
When officers arrived, they located three victims. Silva said there was an event taking place at the temple when the shooting occurred.
The victims were transported to a hospital with what appear to be non-life-threatening injuries.
Both the suspect and the victims are Sikh, according to authorities.
A motive for the shooting is unknown.