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