EC 7640 then HV 5956 at Lisbon
Madrid → Lisbon → Amsterdam
Timetable, Lisbon time
10:25EC 7640 from Madrid at the gate
10:20HV 5956 to Amsterdam leaves the gate
23 h 55 apart on the timetable, overnight
HV 5956 leaves 23 h 55 after EC 7640 arrives on the timetable: more than half a day, so not a connection we count.