SM 3111 then FR 3009 at Madrid
Cairo → Madrid → Milan
Timetable, Madrid time
12:00SM 3111 from Cairo at the gate
09:15FR 3009 to Milan leaves the gate
21 h 15 apart on the timetable, overnight
FR 3009 leaves 21 h 15 after SM 3111 arrives on the timetable: more than half a day, so not a connection we count.