FR 2251 then EC 7153 at Barcelona
Marrakesh → Barcelona → Milan
Timetable, Barcelona time
16:15FR 2251 from Marrakesh at the gate
13:25EC 7153 to Milan leaves the gate
21 h 10 apart on the timetable, overnight
EC 7153 leaves 21 h 10 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.