HV 5808 then HV 5291 at Schiphol
Thessaloniki → Amsterdam → Rabat
Timetable, Amsterdam time
23:50HV 5808 from Thessaloniki at the gate
15:10HV 5291 to Rabat leaves the gate
15 h 20 apart on the timetable, overnight
HV 5291 leaves 15 h 20 after HV 5808 arrives on the timetable: more than half a day, so not a connection we count.