EC 7639 then IB 677 at Madrid
Lisbon → Madrid → Venezia
Timetable, Madrid time
09:55EC 7639 from Lisbon at the gate
08:55IB 677 to Venezia leaves the gate
23 h apart on the timetable, overnight
IB 677 leaves 23 h after EC 7639 arrives on the timetable: more than half a day, so not a connection we count.