QR 3772 then LA 5791 at Barcelona
Basel → Barcelona → Torino
Timetable, Barcelona time
13:05QR 3772 from Basel at the gate
12:35LA 5791 to Torino leaves the gate
23 h 30 apart on the timetable, overnight
LA 5791 leaves 23 h 30 after QR 3772 arrives on the timetable: more than half a day, so not a connection we count.