KL 1546 then U2 6002 at Schiphol
Málaga → Amsterdam → Marrakesh
Timetable, Amsterdam time
19:45KL 1546 from Málaga at the gate
12:05U2 6002 to Marrakesh leaves the gate
16 h 20 apart on the timetable, overnight
U2 6002 leaves 16 h 20 after KL 1546 arrives on the timetable: more than half a day, so not a connection we count.