FR 3877 then IB 1225 at Madrid
Tangier → Madrid → Ranon
Timetable, Madrid time
22:35FR 3877 from Tangier at the gate
19:45IB 1225 to Ranon leaves the gatealso AV 2564, VY 5366, QR 6549, BA 7208, PC 7835
21 h 10 apart on the timetable, overnight
IB 1225 leaves 21 h 10 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.