HV 5756 then KL 1517 at Schiphol
Marrakesh → Amsterdam → Barcelona
Timetable, Amsterdam time
15:45HV 5756 from Marrakesh at the gate
14:25KL 1517 to Barcelona leaves the gate
22 h 40 apart on the timetable, overnight
KL 1517 leaves 22 h 40 after HV 5756 arrives on the timetable: more than half a day, so not a connection we count.