FR 3184 then EC 7155 at Barcelona
Rabat → Barcelona → Milan
Timetable, Barcelona time
21:05FR 3184 from Rabat at the gate
18:40EC 7155 to Milan leaves the gate
21 h 35 apart on the timetable, overnight
EC 7155 leaves 21 h 35 after FR 3184 arrives on the timetable: more than half a day, so not a connection we count.