U2 8514 then U2 8071 at Gatwick
Lisbon → London → Málaga
Timetable, London time
09:55U2 8514 from Lisbon at the gate
09:25U2 8071 to Málaga leaves the gate
23 h 30 apart on the timetable, overnight
U2 8071 leaves 23 h 30 after U2 8514 arrives on the timetable: more than half a day, so not a connection we count.