EW 7520 then FR 2250 at Barcelona
Hamburg → Barcelona → Marrakesh
Timetable, Barcelona time
09:30EW 7520 from Hamburg at the gate
08:15FR 2250 to Marrakesh leaves the gate
22 h 45 apart on the timetable, overnight
FR 2250 leaves 22 h 45 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.