EW 7520 then BA 8072 at Barcelona
Hamburg → Barcelona → London Gatwick
Timetable, Barcelona time
16:20EW 7520 from Hamburg at the gate
14:55BA 8072 to London Gatwick leaves the gate
22 h 35 apart on the timetable, overnight
BA 8072 leaves 22 h 35 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.