BA 2717 then U2 8075 at Gatwick
Funchal → London → Málaga
Timetable, London time
19:55BA 2717 from Funchal at the gate
16:10U2 8075 to Málaga leaves the gate
20 h 15 apart on the timetable, overnight
U2 8075 leaves 20 h 15 after BA 2717 arrives on the timetable: more than half a day, so not a connection we count.