3O 393 then IB 723 at Madrid
Casablanca → Madrid → London Heathrow
Timetable, Madrid time
22:053O 393 from Casablanca at the gate
16:45IB 723 to London Heathrow leaves the gatealso LA 1702, VY 5421, QR 6907, BA 7050, AA 8770
18 h 40 apart on the timetable, overnight
IB 723 leaves 18 h 40 after 3O 393 arrives on the timetable: more than half a day, so not a connection we count.