SM 3029 then FR 2753 at Madrid
Cairo → Madrid → Milan
Timetable, Madrid time
11:40SM 3029 from Cairo at the gate
08:50FR 2753 to Milan leaves the gate
21 h 10 apart on the timetable, overnight
FR 2753 leaves 21 h 10 after SM 3029 arrives on the timetable: more than half a day, so not a connection we count.