VY 5719 then IB 655 at Madrid
Castellón → Madrid → Rome
Timetable, Madrid time
19:20VY 5719 from Castellón at the gate
17:05IB 655 to Rome leaves the gate
21 h 45 apart on the timetable, overnight
IB 655 leaves 21 h 45 after VY 5719 arrives on the timetable: more than half a day, so not a connection we count.