U2 872 then BA 2672 at Gatwick
Glasgow → London → Palma de Mallorca
Timetable, London time
17:10U2 872 from Glasgow at the gate
16:10BA 2672 to Palma de Mallorca leaves the gate
23 h apart on the timetable, overnight
BA 2672 leaves 23 h after U2 872 arrives on the timetable: more than half a day, so not a connection we count.