UX 1047 then U2 1684 at Fiumicino
Madrid → Rome → Nice
Timetable, Rome time
17:25UX 1047 from Madrid at the gate
14:45U2 1684 to Nice leaves the gate
21 h 20 apart on the timetable, overnight
U2 1684 leaves 21 h 20 after UX 1047 arrives on the timetable: more than half a day, so not a connection we count.