FR 5817 then U2 1684 at Fiumicino
Bari → Rome → Nice
Timetable, Rome time
17:05FR 5817 from Bari at the gate
14:45U2 1684 to Nice leaves the gate
21 h 40 apart on the timetable, overnight
U2 1684 leaves 21 h 40 after FR 5817 arrives on the timetable: more than half a day, so not a connection we count.