IB 2319 then AV 2506 at Madrid
Castellón → Madrid → Lisbon
Timetable, Madrid time
19:20IB 2319 from Castellón at the gate
18:00AV 2506 to Lisbon leaves the gatealso LO 4763, EK 4859, AD 7273, S4 8963
22 h 40 apart on the timetable, overnight
AV 2506 leaves 22 h 40 after IB 2319 arrives on the timetable: more than half a day, so not a connection we count.