QR 3704 then LA 5791 at Barcelona
Bari → Barcelona → Torino
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
12:35LA 5791 to Torino leaves the gate
19 h 45 apart on the timetable, overnight
LA 5791 leaves 19 h 45 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.