FR 9673 then IB 423 at Madrid
Rome → Madrid → Barcelona
Timetable, Madrid time
23:30FR 9673 from Rome at the gate
19:10IB 423 to Barcelona leaves the gatealso IB 423S, LA 1684, LL 3023, OB 5010, VY 5063, AV 6072, QR 6918
19 h 40 apart on the timetable, overnight
IB 423 leaves 19 h 40 after FR 9673 arrives on the timetable: more than half a day, so not a connection we count.