EC 1703 then IB 419 at Madrid
Nice → Madrid → Barcelona
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
16:50IB 419 to Barcelona leaves the gatealso LA 1524, LL 3019, VY 5059, AT 5332, AV 6174, QR 8077
20 h 10 apart on the timetable, overnight
IB 419 leaves 20 h 10 after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.