FR 4584 then FR 3189 at Barcelona
Porto → Barcelona → Fes
Timetable, Barcelona time
08:50FR 4584 from Porto at the gate
22:40FR 3189 to Fes leaves the gate
13 h 50 apart on the timetable
FR 3189 leaves 13 h 50 after FR 4584 arrives on the timetable: more than half a day, so not a connection we count.