IB 400 then EC 1704 at Madrid
Barcelona → Madrid → Nice
Timetable, Madrid time
08:05IB 400 from Barcelona at the gatealso CX 1830, LL 3000
21:20EC 1704 to Nice leaves the gate
13 h 15 apart on the timetable
EC 1704 leaves 13 h 15 after IB 400 arrives on the timetable: more than half a day, so not a connection we count.