QR 3717 then IB 5364 at Barcelona
Rome → Barcelona → Milan
Timetable, Barcelona time
19:05QR 3717 from Rome at the gatealso IB 5343, LL 5343, VY 6013
18:10IB 5364 to Milan leaves the gatealso LL 5364, VY 6052
23 h 05 apart on the timetable, overnight
IB 5364 leaves 23 h 05 after QR 3717 arrives on the timetable: more than half a day, so not a connection we count.