HV 5162 then HV 6115 at Schiphol
Cairo → Amsterdam → Málaga
Timetable, Amsterdam time
18:10HV 5162 from Cairo at the gate
06:40HV 6115 to Málaga leaves the gate
12 h 30 apart on the timetable, overnight
HV 6115 leaves 12 h 30 after HV 5162 arrives on the timetable: more than half a day, so not a connection we count.