FR 270 then FR 2239 at Barcelona
Milan → Barcelona → Marrakesh
Timetable, Barcelona time
16:45FR 270 from Milan at the gate
06:45FR 2239 to Marrakesh leaves the gate
14 h apart on the timetable, overnight
FR 2239 leaves 14 h after FR 270 arrives on the timetable: more than half a day, so not a connection we count.