GateConnections

FR 5930 then FR 5686 at Madrid

Fes → Madrid → Edinburgh

Timetable, Madrid time

19:45FR 5930 from Fes at the gate

17:25FR 5686 to Edinburgh leaves the gate

21 h 40 apart on the timetable, overnight

FR 5686 leaves 21 h 40 after FR 5930 arrives on the timetable: more than half a day, so not a connection we count.