IB 407 then FR 2239 at Barcelona
Madrid → Barcelona → Marrakesh
Timetable, Barcelona time
09:45IB 407 from Madrid at the gatealso IB 407S, LA 1521, LL 3007, VY 5024, QR 5090, BA 7128, AA 8687
06:45FR 2239 to Marrakesh leaves the gate
21 h apart on the timetable, overnight
FR 2239 leaves 21 h after IB 407 arrives on the timetable: more than half a day, so not a connection we count.