MS 2753 then FR 3009 at Madrid
Cairo → Madrid → Milan
Timetable, Madrid time
12:25MS 2753 from Cairo at the gate
06:45FR 3009 to Milan leaves the gate
18 h 20 apart on the timetable, overnight
FR 3009 leaves 18 h 20 after MS 2753 arrives on the timetable: more than half a day, so not a connection we count.