EW 7520 then LA 5772 at Barcelona
Hamburg → Barcelona → London Gatwick
Timetable, Barcelona time
16:20EW 7520 from Hamburg at the gate
11:00LA 5772 to London Gatwick leaves the gate
18 h 40 apart on the timetable, overnight
LA 5772 leaves 18 h 40 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.