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