IB 535 then VY 6503 at Lisbon
Madrid → Lisbon → Bilbao
Timetable, Lisbon time
18:05IB 535 from Madrid at the gate
13:50VY 6503 to Bilbao leaves the gate
19 h 45 apart on the timetable, overnight
VY 6503 leaves 19 h 45 after IB 535 arrives on the timetable: more than half a day, so not a connection we count.