UX 58 then EC 1704 at Madrid
São Paulo → Madrid → Nice
Timetable, Madrid time
05:10UX 58 from São Paulo at the gate
21:20EC 1704 to Nice leaves the gate
16 h 10 apart on the timetable
EC 1704 leaves 16 h 10 after UX 58 arrives on the timetable: more than half a day, so not a connection we count.