FR 2767 then FR 3430 at Madrid
Prague → Madrid → Agadir
Timetable, Madrid time
17:45FR 2767 from Prague at the gate
09:55FR 3430 to Agadir leaves the gate
16 h 10 apart on the timetable, overnight
FR 3430 leaves 16 h 10 after FR 2767 arrives on the timetable: more than half a day, so not a connection we count.