QR 3706 then QR 3636 at Barcelona
Bari → Barcelona → Firenze
Timetable, Barcelona time
23:25QR 3706 from Bari at the gate
21:30QR 3636 to Firenze leaves the gatealso IB 5376, LL 5376, VY 6076
22 h 05 apart on the timetable, overnight
QR 3636 leaves 22 h 05 after QR 3706 arrives on the timetable: more than half a day, so not a connection we count.