EC 7102 then FR 2239 at Barcelona
Basel → Barcelona → Marrakesh
Timetable, Barcelona time
11:30EC 7102 from Basel at the gate
06:40FR 2239 to Marrakesh leaves the gate
19 h 10 apart on the timetable, overnight
FR 2239 leaves 19 h 10 after EC 7102 arrives on the timetable: more than half a day, so not a connection we count.