IB 782 then EC 1704 at Madrid
Berlin → Madrid → Nice
Timetable, Madrid time
14:50IB 782 from Berlin at the gatealso VY 5083, AA 8506
13:10EC 1704 to Nice leaves the gate
22 h 20 apart on the timetable, overnight
EC 1704 leaves 22 h 20 after IB 782 arrives on the timetable: more than half a day, so not a connection we count.