U2 8182 then BA 2642 at Gatwick
Athens → London → Málaga
Timetable, London time
16:40U2 8182 from Athens at the gate
14:35BA 2642 to Málaga leaves the gate
21 h 55 apart on the timetable, overnight
BA 2642 leaves 21 h 55 after U2 8182 arrives on the timetable: more than half a day, so not a connection we count.