FR 7466 then IB 563 at Madrid
Tangier → Madrid → Málaga
Timetable, Madrid time
14:05FR 7466 from Tangier at the gate
11:15IB 563 to Málaga leaves the gatealso QR 8092, AA 8779
21 h 10 apart on the timetable, overnight
IB 563 leaves 21 h 10 after FR 7466 arrives on the timetable: more than half a day, so not a connection we count.