CX 297 then FR 9430 at Madrid
Hong Kong → Madrid → Marrakesh
Timetable, Madrid time
20:30CX 297 from Hong Kong at the gate
13:10FR 9430 to Marrakesh leaves the gate
16 h 40 apart on the timetable, overnight
FR 9430 leaves 16 h 40 after CX 297 arrives on the timetable: more than half a day, so not a connection we count.