IB 1248 then EC 1704 at Madrid
Torino → Madrid → Nice
Timetable, Madrid time
14:15IB 1248 from Torino at the gatealso LA 1746, VY 5557, QR 6576
13:10EC 1704 to Nice leaves the gate
22 h 55 apart on the timetable, overnight
EC 1704 leaves 22 h 55 after IB 1248 arrives on the timetable: more than half a day, so not a connection we count.