The boy was found at about 6:45 p.m. Tuesday in a street near Egara park, ThinkSpain reported.
It took police officers about a half-hour to figure out where the boy lived.
When he was returned to his mother, she said he had exited the home through the front door without her knowledge and he is prone to sleepwalking.
Jessica Simpson shares three-way kiss with friends in photo
Teacher apologizes for showing sexual image of herself in class