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