FR 6823 then QR 3516 at Barcelona
Birmingham (UK) → Barcelona → Málaga
Timetable, Barcelona time
19:35FR 6823 from Birmingham (UK) at the gate
19:25QR 3516 to Málaga leaves the gate
23 h 50 apart on the timetable, overnight
QR 3516 leaves 23 h 50 after FR 6823 arrives on the timetable: more than half a day, so not a connection we count.