NE 8017 then FR 2753 at Madrid
Cairo → Madrid → Milan
Timetable, Madrid time
14:05NE 8017 from Cairo at the gate
09:35FR 2753 to Milan leaves the gate
19 h 30 apart on the timetable, overnight
FR 2753 leaves 19 h 30 after NE 8017 arrives on the timetable: more than half a day, so not a connection we count.