NE 8001 then FR 3009 at Madrid
Cairo → Madrid → Milan
Timetable, Madrid time
13:35NE 8001 from Cairo at the gate
09:15FR 3009 to Milan leaves the gate
19 h 40 apart on the timetable, overnight
FR 3009 leaves 19 h 40 after NE 8001 arrives on the timetable: more than half a day, so not a connection we count.