FR 2240 then EC 7199 at Barcelona
Marrakesh → Barcelona → Edinburgh
Timetable, Barcelona time
18:00FR 2240 from Marrakesh at the gate
07:20EC 7199 to Edinburgh leaves the gate
13 h 20 apart on the timetable, overnight
EC 7199 leaves 13 h 20 after FR 2240 arrives on the timetable: more than half a day, so not a connection we count.