EC 3749 then VY 6006 at Barcelona
Milan → Barcelona → Rome
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
10:05VY 6006 to Rome leaves the gate
12 h 35 apart on the timetable, overnight
VY 6006 leaves 12 h 35 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.