EC 7639 then IB 715 at Madrid
Lisbon → Madrid → London Heathrow
Timetable, Madrid time
09:35EC 7639 from Lisbon at the gate
09:00IB 715 to London Heathrow leaves the gatealso VY 5185, QR 6534, BA 7066, AA 8655
23 h 25 apart on the timetable, overnight
IB 715 leaves 23 h 25 after EC 7639 arrives on the timetable: more than half a day, so not a connection we count.