IB 2319 then FR 2766 at Madrid
Castellón → Madrid → Prague
Timetable, Madrid time
19:20IB 2319 from Castellón at the gate
18:20FR 2766 to Prague leaves the gate
23 h apart on the timetable, overnight
FR 2766 leaves 23 h after IB 2319 arrives on the timetable: more than half a day, so not a connection we count.