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