IB 124 then FR 6791 at Madrid
Lima → Madrid → Marrakesh
Timetable, Madrid time
05:30IB 124 from Lima at the gatealso LA 1605, CX 1850, QR 5384, AY 5560, BA 7230
17:40FR 6791 to Marrakesh leaves the gate
12 h 10 apart on the timetable
FR 6791 leaves 12 h 10 after IB 124 arrives on the timetable: more than half a day, so not a connection we count.