HV 5952 then VY 1059 at Schiphol
Lisbon → Amsterdam → Barcelona
Timetable, Amsterdam time
23:55HV 5952 from Lisbon at the gate
16:35VY 1059 to Barcelona leaves the gate
16 h 40 apart on the timetable, overnight
VY 1059 leaves 16 h 40 after HV 5952 arrives on the timetable: more than half a day, so not a connection we count.