From there , he traveled to Madrid and then on to Barcelona with friends via the train .
Next , he traveled to Madrid and then to Barcelona with friends on the train .