UX 72 then FR 2766 at Madrid
Caracas → Madrid → Prague
Timetable, Madrid time
12:35UX 72 from Caracas at the gate
10:05FR 2766 to Prague leaves the gate
21 h 30 apart on the timetable, overnight
FR 2766 leaves 21 h 30 after UX 72 arrives on the timetable: more than half a day, so not a connection we count.