FR 89 then TP 1012 at Lisbon
Funchal → Lisbon → Madrid
Timetable, Lisbon time
10:30FR 89 from Funchal at the gate
09:00TP 1012 to Madrid leaves the gate
22 h 30 apart on the timetable, overnight
TP 1012 leaves 22 h 30 after FR 89 arrives on the timetable: more than half a day, so not a connection we count.