"These subjects did not discriminate in who they hated," said Mark Remily, special agent in charge of the FBI's San Diego Field Office.

The complex is home to the Al Rashid school where crowds of young students were seen being evacuated on Monday following reports of the shooting.

The Islamic Center of San Diego is the largest mosque in the county.

The attack is being investigated by police as a possible hate crime.