FR 10 then UX 71 at Madrid
Dublin → Madrid → Caracas
Timetable, Madrid time
22:35FR 10 from Dublin at the gate
16:40UX 71 to Caracas leaves the gate
18 h 05 apart on the timetable, overnight
UX 71 leaves 18 h 05 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.