QR 3722 then QR 3597 at Barcelona
Firenze → Barcelona → Málaga
Timetable, Barcelona time
23:50QR 3722 from Firenze at the gate
21:55QR 3597 to Málaga leaves the gate
22 h 05 apart on the timetable, overnight
QR 3597 leaves 22 h 05 after QR 3722 arrives on the timetable: more than half a day, so not a connection we count.