HV 5292 then HV 6145 at Schiphol
Rabat → Amsterdam → Alicante
Timetable, Amsterdam time
23:00HV 5292 from Rabat at the gate
16:40HV 6145 to Alicante leaves the gate
17 h 40 apart on the timetable, overnight
HV 6145 leaves 17 h 40 after HV 5292 arrives on the timetable: more than half a day, so not a connection we count.