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