According to the Spanish Newspaper El Pais (in Spanish) that the 19-year-old is not related to the boy, and was paid by his father to carry the suitcase.
When police opened the case, they found the boy in a "terrible state", a spokesman for the Guardia Civil told AFP.
The boy, from Ivory Coast, is now in the care of authorities in Ceuta.
The boy's father lives in the Canary Islands and had hoped to be reunited with his son, El Pais said.
The Spanish news agency Efe said the boy's father, also named Abou, had travelled back to Ivory Coast to pick him up, having moved to Gran Canaria in 2013.
The father then reportedly paid the Moroccan courier to carry the suitcase. A police spokesman told Efe: "She seemed to hesitate, and it looked as though she didn't want to come through the border.