EC 7152 then LA 5759 at Barcelona
Milan → Barcelona → Geneva
Timetable, Barcelona time
16:55EC 7152 from Milan at the gate
15:10LA 5759 to Geneva leaves the gate
22 h 15 apart on the timetable, overnight
LA 5759 leaves 22 h 15 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.