EW 7460 then BA 490 at Heathrow
Hamburg → London → Gibraltar
Timetable, London time
08:10EW 7460 from Hamburg at the gate
06:35BA 490 to Gibraltar leaves the gate
22 h 25 apart on the timetable, overnight
BA 490 leaves 22 h 25 after EW 7460 arrives on the timetable: more than half a day, so not a connection we count.