FR 6274 then FR 2239 at Barcelona
Edinburgh → Barcelona → Marrakesh
Timetable, Barcelona time
22:05FR 6274 from Edinburgh at the gate
12:35FR 2239 to Marrakesh leaves the gate
14 h 30 apart on the timetable, overnight
FR 2239 leaves 14 h 30 after FR 6274 arrives on the timetable: more than half a day, so not a connection we count.