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