IB 282 then FR 6791 at Madrid
Tokyo → Madrid → Marrakesh
Timetable, Madrid time
05:45IB 282 from Tokyo at the gate
18:10FR 6791 to Marrakesh leaves the gate
12 h 25 apart on the timetable
FR 6791 leaves 12 h 25 after IB 282 arrives on the timetable: more than half a day, so not a connection we count.