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