EC 1703 then UX 1155 at Madrid
Nice → Madrid → Lisbon
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
14:50UX 1155 to Lisbon leaves the gatealso SV 4735
18 h 10 apart on the timetable, overnight
UX 1155 leaves 18 h 10 after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.