Accused ‘working for al-Qaeda’