Al Jazeera reported that Spanish police found the boy "in a terrible state" hidden in a suitcase that was smuggled across the border into territory in North Africa.
The woman took the luggage through a pedestrian crossing from Morocco into the small Spanish-governed terriroty of Ceuta. Authorities believed she looked scared and suspicious. When they scanned her luggage through an X-ray, the operator noticed something strange. A spokesman for Civil Guard police told Al Jazeera:
"When it was opened they found a minor, in a terrible state."
The Civil Guard arrested the 19-year-old woman who is now due to go before a judge.
The boy's father was also arrested a few hours later when he tried to cross the boarder. The father is Ivorian and lives in Spain's Canary Islands.
Time reports that thousands of migrants risk their lives each year trying to enter Ceuta and other Spanish territory bordering Morocco, Melilla. Many Africans attempt to jump the 23-foot fence dividing the areas.
Earlier this week a 23-year-old Moroccan was found in a shipping container in the port of Melilla. He was severely dehydrated after four days without food or water.