DY 5503 then FR 3189 at Barcelona
Stockholm → Barcelona → Fes
Timetable, Barcelona time
22:45DY 5503 from Stockholm at the gate
16:45FR 3189 to Fes leaves the gate
18 h apart on the timetable, overnight
FR 3189 leaves 18 h after DY 5503 arrives on the timetable: more than half a day, so not a connection we count.