HV 5956 then UX 1094 at Schiphol
Lisbon → Amsterdam → Madrid
Timetable, Amsterdam time
23:45HV 5956 from Lisbon at the gate
19:00UX 1094 to Madrid leaves the gatealso MU 4953
19 h 15 apart on the timetable, overnight
UX 1094 leaves 19 h 15 after HV 5956 arrives on the timetable: more than half a day, so not a connection we count.