QR 3502 then FR 3189 at Barcelona
Málaga → Barcelona → Fes
Timetable, Barcelona time
21:10QR 3502 from Málaga at the gate
14:50FR 3189 to Fes leaves the gate
17 h 40 apart on the timetable, overnight
FR 3189 leaves 17 h 40 after QR 3502 arrives on the timetable: more than half a day, so not a connection we count.