FR 3877 then IB 1569 at Madrid
Tangier → Madrid → Tenerife North
Timetable, Madrid time
17:25FR 3877 from Tangier at the gate
11:25IB 1569 to Tenerife North leaves the gate
18 h apart on the timetable, overnight
IB 1569 leaves 18 h after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.