IB 1345 then HV 6003 at Schiphol
Madrid → Amsterdam → Porto
Timetable, Amsterdam time
15:05IB 1345 from Madrid at the gate
06:50HV 6003 to Porto leaves the gate
15 h 45 apart on the timetable, overnight
HV 6003 leaves 15 h 45 after IB 1345 arrives on the timetable: more than half a day, so not a connection we count.