FR 2251 then FR 6912 at Barcelona
Marrakesh → Barcelona → Edinburgh
Timetable, Barcelona time
10:40FR 2251 from Marrakesh at the gate
10:20FR 6912 to Edinburgh leaves the gate
23 h 40 apart on the timetable, overnight
FR 6912 leaves 23 h 40 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.