LA 5788 then QR 3597 at Barcelona
Cagliari → Barcelona → Málaga
Timetable, Barcelona time
01:05LA 5788 from Cagliari at the gate
21:55QR 3597 to Málaga leaves the gate
20 h 50 apart on the timetable
QR 3597 leaves 20 h 50 after LA 5788 arrives on the timetable: more than half a day, so not a connection we count.