HV 6332 then IB 1346 at Schiphol
Valencia → Amsterdam → Madrid
Timetable, Amsterdam time
23:30HV 6332 from Valencia at the gate
15:50IB 1346 to Madrid leaves the gate
16 h 20 apart on the timetable, overnight
IB 1346 leaves 16 h 20 after HV 6332 arrives on the timetable: more than half a day, so not a connection we count.