FR 4272 then QR 3516 at Barcelona
Poznan → Barcelona → Málaga
Timetable, Barcelona time
20:30FR 4272 from Poznan at the gate
19:45QR 3516 to Málaga leaves the gate
23 h 15 apart on the timetable, overnight
QR 3516 leaves 23 h 15 after FR 4272 arrives on the timetable: more than half a day, so not a connection we count.