QR 3722 then W4 6664 at Barcelona
Firenze → Barcelona → Palermo
Timetable, Barcelona time
22:45QR 3722 from Firenze at the gate
22:25W4 6664 to Palermo leaves the gate
23 h 40 apart on the timetable, overnight
W4 6664 leaves 23 h 40 after QR 3722 arrives on the timetable: more than half a day, so not a connection we count.