U2 8520 then U2 8057 at Gatwick
Funchal → London → Barcelona
Timetable, London time
16:10U2 8520 from Funchal at the gate
15:50U2 8057 to Barcelona leaves the gate
23 h 40 apart on the timetable, overnight
U2 8057 leaves 23 h 40 after U2 8520 arrives on the timetable: more than half a day, so not a connection we count.