FR 2240 then FR 3143 at Barcelona
Marrakesh → Barcelona → Milan Bergamo
Timetable, Barcelona time
12:05FR 2240 from Marrakesh at the gate
06:05FR 3143 to Milan Bergamo leaves the gate
18 h apart on the timetable, overnight
FR 3143 leaves 18 h after FR 2240 arrives on the timetable: more than half a day, so not a connection we count.