W4 7039 then FR 3181 at Fiumicino
Milan → Rome → Barcelona
Timetable, Rome time
09:00W4 7039 from Milan at the gate
08:35FR 3181 to Barcelona leaves the gate
23 h 35 apart on the timetable, overnight
FR 3181 leaves 23 h 35 after W4 7039 arrives on the timetable: more than half a day, so not a connection we count.