IB 192 then FR 3876 at Madrid
Caracas → Madrid → Tangier
Timetable, Madrid time
09:20IB 192 from Caracas at the gate
06:15FR 3876 to Tangier leaves the gate
20 h 55 apart on the timetable, overnight
FR 3876 leaves 20 h 55 after IB 192 arrives on the timetable: more than half a day, so not a connection we count.