IB 244 then FR 3876 at Madrid
San José (Costa Rica) → Madrid → Tangier
Timetable, Madrid time
10:15IB 244 from San José (Costa Rica) at the gatealso BA 4218, QR 5383
06:10FR 3876 to Tangier leaves the gate
19 h 55 apart on the timetable, overnight
FR 3876 leaves 19 h 55 after IB 244 arrives on the timetable: more than half a day, so not a connection we count.