EC 1703 then IB 493 at Madrid
Nice → Madrid → Santander
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
15:50IB 493 to Santander leaves the gatealso VY 5356, AY 5589, BA 7217
19 h 10 apart on the timetable, overnight
IB 493 leaves 19 h 10 after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.