EC 7622 then IB 1142 at Lisbon
Funchal → Lisbon → Madrid
Timetable, Lisbon time
22:05EC 7622 from Funchal at the gate
12:30IB 1142 to Madrid leaves the gate
14 h 25 apart on the timetable, overnight
IB 1142 leaves 14 h 25 after EC 7622 arrives on the timetable: more than half a day, so not a connection we count.