QR 3522 then FR 3189 at Barcelona
Málaga → Barcelona → Fes
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
14:50FR 3189 to Fes leaves the gate
13 h 30 apart on the timetable
FR 3189 leaves 13 h 30 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.