They say the suspects may have had contact with al-Qaida 's second-in-command , Ayman al-Zawahri , and may have been trained in Afghanistan .