EC 3749 then FR 3180 at Barcelona
Milan → Barcelona → Rome
Timetable, Barcelona time
09:40EC 3749 from Milan at the gate
06:00FR 3180 to Rome leaves the gate
20 h 20 apart on the timetable, overnight
FR 3180 leaves 20 h 20 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.