EC 4427 then IB 1146 at Lisbon
Lyon → Lisbon → Madrid
Timetable, Lisbon time
08:35EC 4427 from Lyon at the gate
20:45IB 1146 to Madrid leaves the gate
12 h 10 apart on the timetable
IB 1146 leaves 12 h 10 after EC 4427 arrives on the timetable: more than half a day, so not a connection we count.