EW 7520 then LA 5759 at Barcelona
Hamburg → Barcelona → Geneva
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
15:10LA 5759 to Geneva leaves the gate
20 h 25 apart on the timetable, overnight
LA 5759 leaves 20 h 25 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.