CX 297 then A3 1777 at Madrid
Hong Kong → Madrid → Lisbon
Timetable, Madrid time
20:30CX 297 from Hong Kong at the gate
18:00A3 1777 to Lisbon leaves the gate
21 h 30 apart on the timetable, overnight
A3 1777 leaves 21 h 30 after CX 297 arrives on the timetable: more than half a day, so not a connection we count.