VY 5139 then FR 188 at Madrid
Marrakesh → Madrid → Edinburgh
Timetable, Madrid time
16:40VY 5139 from Marrakesh at the gatealso AT 5344, BA 7132
10:20FR 188 to Edinburgh leaves the gate
17 h 40 apart on the timetable, overnight
FR 188 leaves 17 h 40 after VY 5139 arrives on the timetable: more than half a day, so not a connection we count.