FR 853 then IB 534 at Lisbon
Treviso → Lisbon → Madrid
Timetable, Lisbon time
17:35FR 853 from Treviso at the gate
16:45IB 534 to Madrid leaves the gate
23 h 10 apart on the timetable, overnight
IB 534 leaves 23 h 10 after FR 853 arrives on the timetable: more than half a day, so not a connection we count.