SM 3109 then FR 690 at Madrid
Cairo → Madrid → Vienna
Timetable, Madrid time
11:45SM 3109 from Cairo at the gate
09:45FR 690 to Vienna leaves the gate
22 h apart on the timetable, overnight
FR 690 leaves 22 h after SM 3109 arrives on the timetable: more than half a day, so not a connection we count.