IB 1078 then FR 2766 at Madrid
Valencia → Madrid → Prague
Timetable, Madrid time
14:20IB 1078 from Valencia at the gate
09:50FR 2766 to Prague leaves the gate
19 h 30 apart on the timetable, overnight
FR 2766 leaves 19 h 30 after IB 1078 arrives on the timetable: more than half a day, so not a connection we count.