HV 5952 then HV 5751 at Schiphol
Lisbon → Amsterdam → Marrakesh
Timetable, Amsterdam time
23:55HV 5952 from Lisbon at the gate
15:45HV 5751 to Marrakesh leaves the gate
15 h 50 apart on the timetable, overnight
HV 5751 leaves 15 h 50 after HV 5952 arrives on the timetable: more than half a day, so not a connection we count.