BA 1475 then BA 470 at Heathrow
Glasgow → London → Palma de Mallorca
Timetable, London time
11:20BA 1475 from Glasgow at the gate
08:00BA 470 to Palma de Mallorca leaves the gate
20 h 40 apart on the timetable, overnight
BA 470 leaves 20 h 40 after BA 1475 arrives on the timetable: more than half a day, so not a connection we count.