FR 270 then IB 5340 at Barcelona
Milan → Barcelona → Rome
Timetable, Barcelona time
17:55FR 270 from Milan at the gate
12:55IB 5340 to Rome leaves the gatealso LL 5340, LA 5839
19 h apart on the timetable, overnight
IB 5340 leaves 19 h after FR 270 arrives on the timetable: more than half a day, so not a connection we count.