FR 89 then IB 532 at Lisbon
Funchal → Lisbon → Madrid
Timetable, Lisbon time
13:55FR 89 from Funchal at the gate
12:30IB 532 to Madrid leaves the gate
22 h 35 apart on the timetable, overnight
IB 532 leaves 22 h 35 after FR 89 arrives on the timetable: more than half a day, so not a connection we count.