IB 529 then FR 385 at Lisbon
Madrid → Lisbon → Funchal
Timetable, Lisbon time
07:40IB 529 from Madrid at the gate
06:10FR 385 to Funchal leaves the gate
22 h 30 apart on the timetable, overnight
FR 385 leaves 22 h 30 after IB 529 arrives on the timetable: more than half a day, so not a connection we count.