BA 975 then BA 470 at Heathrow
Berlin → London → Palma de Mallorca
Timetable, London time
13:05BA 975 from Berlin at the gate
08:00BA 470 to Palma de Mallorca leaves the gate
18 h 55 apart on the timetable, overnight
BA 470 leaves 18 h 55 after BA 975 arrives on the timetable: more than half a day, so not a connection we count.