IB 1402 then FR 5482 at Madrid
Valencia → Madrid → Porto
Timetable, Madrid time
01:35IB 1402 from Valencia at the gate
23:25FR 5482 to Porto leaves the gate
21 h 50 apart on the timetable
FR 5482 leaves 21 h 50 after IB 1402 arrives on the timetable: more than half a day, so not a connection we count.