SK 2801 then IB 534 at Lisbon
Copenhagen → Lisbon → Madrid
Timetable, Lisbon time
18:00SK 2801 from Copenhagen at the gate
16:45IB 534 to Madrid leaves the gate
22 h 45 apart on the timetable, overnight
IB 534 leaves 22 h 45 after SK 2801 arrives on the timetable: more than half a day, so not a connection we count.