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