3O 391 then IB 723 at Madrid
Tangier → Madrid → London Heathrow
Timetable, Madrid time
20:003O 391 from Tangier at the gate
16:50IB 723 to London Heathrow leaves the gatealso LA 1702, VY 5421, QR 6907, BA 7050
20 h 50 apart on the timetable, overnight
IB 723 leaves 20 h 50 after 3O 391 arrives on the timetable: more than half a day, so not a connection we count.