EC 8424 then U2 8019 at Gatwick
Nice → London → Madrid
Timetable, London time
08:05EC 8424 from Nice at the gate
07:25U2 8019 to Madrid leaves the gate
23 h 20 apart on the timetable, overnight
U2 8019 leaves 23 h 20 after EC 8424 arrives on the timetable: more than half a day, so not a connection we count.