An eighth detainee , a Moroccan , has been transferred to Spain , where he is accused of having links to an al-Qaida cell .