FR 9601 then UX 71 at Madrid
Rome → Madrid → Caracas
Timetable, Madrid time
19:10FR 9601 from Rome at the gate
16:40UX 71 to Caracas leaves the gate
21 h 30 apart on the timetable, overnight
UX 71 leaves 21 h 30 after FR 9601 arrives on the timetable: more than half a day, so not a connection we count.