MS 847 then AT 794 at Casablanca
Cairo → Casablanca → Montpellier
Timetable, Casablanca time
11:35MS 847 from Cairo at the gate
08:35AT 794 to Montpellier leaves the gate
21 h apart on the timetable, overnight
AT 794 leaves 21 h after MS 847 arrives on the timetable: more than half a day, so not a connection we count.