FR 2251 then QR 3597 at Barcelona
Marrakesh → Barcelona → Málaga
Timetable, Barcelona time
22:25FR 2251 from Marrakesh at the gate
21:55QR 3597 to Málaga leaves the gate
23 h 30 apart on the timetable, overnight
QR 3597 leaves 23 h 30 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.