3O 393 then I2 1583 at Madrid
Casablanca → Madrid → Tenerife North
Timetable, Madrid time
22:053O 393 from Casablanca at the gate
17:55I2 1583 to Tenerife North leaves the gatealso IB 1583, AA 8732
19 h 50 apart on the timetable, overnight
I2 1583 leaves 19 h 50 after 3O 393 arrives on the timetable: more than half a day, so not a connection we count.