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