IB 411 then FR 2239 at Barcelona
Madrid → Barcelona → Marrakesh
Timetable, Barcelona time
12:45IB 411 from Madrid at the gatealso CX 1839, LL 3011, VY 5031, QR 5095, AV 6089, BA 7130, AA 8613
06:45FR 2239 to Marrakesh leaves the gate
18 h apart on the timetable, overnight
FR 2239 leaves 18 h after IB 411 arrives on the timetable: more than half a day, so not a connection we count.