FR 6274 then FR 2250 at Barcelona
Edinburgh → Barcelona → Marrakesh
Timetable, Barcelona time
21:00FR 6274 from Edinburgh at the gate
17:00FR 2250 to Marrakesh leaves the gate
20 h apart on the timetable, overnight
FR 2250 leaves 20 h after FR 6274 arrives on the timetable: more than half a day, so not a connection we count.