FR 3877 then IB 629 at Madrid
Tangier → Madrid → Zurich
Timetable, Madrid time
17:35FR 3877 from Tangier at the gate
11:45IB 629 to Zurich leaves the gatealso AA 8546
18 h 10 apart on the timetable, overnight
IB 629 leaves 18 h 10 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.