EW 7460 then BA 470 at Heathrow
Hamburg → London → Palma de Mallorca
Timetable, London time
08:10EW 7460 from Hamburg at the gate
08:00BA 470 to Palma de Mallorca leaves the gate
23 h 50 apart on the timetable, overnight
BA 470 leaves 23 h 50 after EW 7460 arrives on the timetable: more than half a day, so not a connection we count.