IB 924 then EC 4390 at Madrid
Dakar → Madrid → Lyon
Timetable, Madrid time
17:10IB 924 from Dakar at the gate
13:05EC 4390 to Lyon leaves the gate
19 h 55 apart on the timetable, overnight
EC 4390 leaves 19 h 55 after IB 924 arrives on the timetable: more than half a day, so not a connection we count.