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