IB 1310 then EC 1704 at Madrid
Munich → Madrid → Nice
Timetable, Madrid time
15:00IB 1310 from Munich at the gatealso BT 5134, AT 5335, VY 5856, AA 8514
13:10EC 1704 to Nice leaves the gate
22 h 10 apart on the timetable, overnight
EC 1704 leaves 22 h 10 after IB 1310 arrives on the timetable: more than half a day, so not a connection we count.