HV 5754 then KL 1577 at Schiphol
Marrakesh → Amsterdam → Porto
Timetable, Amsterdam time
23:55HV 5754 from Marrakesh at the gate
20:50KL 1577 to Porto leaves the gate
20 h 55 apart on the timetable, overnight
KL 1577 leaves 20 h 55 after HV 5754 arrives on the timetable: more than half a day, so not a connection we count.