FR 6722 then IB 381 at Madrid
Marrakesh → Madrid → San Juan
Timetable, Madrid time
17:05FR 6722 from Marrakesh at the gate
12:35IB 381 to San Juan leaves the gate
19 h 30 apart on the timetable, overnight
IB 381 leaves 19 h 30 after FR 6722 arrives on the timetable: more than half a day, so not a connection we count.