IB 413 then FR 2239 at Barcelona
Madrid → Barcelona → Marrakesh
Timetable, Barcelona time
14:20IB 413 from Madrid at the gatealso CX 1841, LL 3013, VY 5050, LA 5401, AV 6146, QR 6939, BA 7133, AA 8688
06:40FR 2239 to Marrakesh leaves the gate
16 h 20 apart on the timetable, overnight
FR 2239 leaves 16 h 20 after IB 413 arrives on the timetable: more than half a day, so not a connection we count.