AT 947 then AT 794 at Casablanca
Bologna → Casablanca → Montpellier
Timetable, Casablanca time
14:15AT 947 from Bologna at the gate
08:35AT 794 to Montpellier leaves the gate
18 h 20 apart on the timetable, overnight
AT 794 leaves 18 h 20 after AT 947 arrives on the timetable: more than half a day, so not a connection we count.