FR 2251 then IB 410 at Barcelona
Marrakesh → Barcelona → Madrid
Timetable, Barcelona time
16:15FR 2251 from Marrakesh at the gate
12:30IB 410 to Madrid leaves the gatealso LA 1625, CX 1822, LL 3010, VY 5117, QR 5376, AV 6025, AA 8708
20 h 15 apart on the timetable, overnight
IB 410 leaves 20 h 15 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.