IB 1355 then AT 1456 at Casablanca
Madrid → Casablanca → Essaouira
Timetable, Casablanca time
12:05IB 1355 from Madrid at the gate
11:05AT 1456 to Essaouira leaves the gate
23 h apart on the timetable, overnight
AT 1456 leaves 23 h after IB 1355 arrives on the timetable: more than half a day, so not a connection we count.