MS 749 then FR 1242 at Athens
Cairo → Athens → Budapest
Timetable, Athens time
18:40MS 749 from Cairo at the gate
17:25FR 1242 to Budapest leaves the gate
22 h 45 apart on the timetable, overnight
FR 1242 leaves 22 h 45 after MS 749 arrives on the timetable: more than half a day, so not a connection we count.