SM 3109 then FR 9602 at Madrid
Cairo → Madrid → Rome
Timetable, Madrid time
11:45SM 3109 from Cairo at the gate
06:00FR 9602 to Rome leaves the gate
18 h 15 apart on the timetable, overnight
FR 9602 leaves 18 h 15 after SM 3109 arrives on the timetable: more than half a day, so not a connection we count.