FR 3877 then IB 1195 at Madrid
Tangier → Madrid → Toulouse
Timetable, Madrid time
22:35FR 3877 from Tangier at the gate
19:40IB 1195 to Toulouse leaves the gatealso LA 1747, CX 1899, VY 5540, QR 6951
21 h 05 apart on the timetable, overnight
IB 1195 leaves 21 h 05 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.