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