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