MS 797 then FR 182 at Vienna
Cairo → Vienna → Sofia
Timetable, Vienna time
14:30MS 797 from Cairo at the gate
11:40FR 182 to Sofia leaves the gate
21 h 10 apart on the timetable, overnight
FR 182 leaves 21 h 10 after MS 797 arrives on the timetable: more than half a day, so not a connection we count.