EC 1703 then UX 87 at Madrid
Nice → Madrid → Santo Domingo
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
16:10UX 87 to Santo Domingo leaves the gate
19 h 30 apart on the timetable, overnight
UX 87 leaves 19 h 30 after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.