EC 7639 then IB 1309 at Madrid
Lisbon → Madrid → Munich
Timetable, Madrid time
09:25EC 7639 from Lisbon at the gate
08:50IB 1309 to Munich leaves the gatealso VY 5855, AA 8628
23 h 25 apart on the timetable, overnight
IB 1309 leaves 23 h 25 after EC 7639 arrives on the timetable: more than half a day, so not a connection we count.