U2 8782 then U2 8071 at Gatwick
Prague → London → Málaga
Timetable, London time
13:20U2 8782 from Prague at the gate
09:25U2 8071 to Málaga leaves the gate
20 h 05 apart on the timetable, overnight
U2 8071 leaves 20 h 05 after U2 8782 arrives on the timetable: more than half a day, so not a connection we count.