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