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