FR 3429 then FR 6721 at Madrid
Agadir → Madrid → Marrakesh
Timetable, Madrid time
20:50FR 3429 from Agadir at the gate
20:25FR 6721 to Marrakesh leaves the gate
23 h 35 apart on the timetable, overnight
FR 6721 leaves 23 h 35 after FR 3429 arrives on the timetable: more than half a day, so not a connection we count.