FR 3877 then IB 717 at Madrid
Tangier → Madrid → London Heathrow
Timetable, Madrid time
16:10FR 3877 from Tangier at the gate
13:15IB 717 to London Heathrow leaves the gatealso LA 1539, VY 5179, QR 5345, BA 7056, AA 8755
21 h 05 apart on the timetable, overnight
IB 717 leaves 21 h 05 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.