UX 1016 then EC 1704 at Madrid
London Gatwick → Madrid → Nice
Timetable, Madrid time
20:55UX 1016 from London Gatwick at the gate
13:10EC 1704 to Nice leaves the gate
16 h 15 apart on the timetable, overnight
EC 1704 leaves 16 h 15 after UX 1016 arrives on the timetable: more than half a day, so not a connection we count.