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