KL 1572 then HV 5291 at Schiphol
Porto → Amsterdam → Rabat
Timetable, Amsterdam time
14:55KL 1572 from Porto at the gate
06:25HV 5291 to Rabat leaves the gate
15 h 30 apart on the timetable, overnight
HV 5291 leaves 15 h 30 after KL 1572 arrives on the timetable: more than half a day, so not a connection we count.