FR 9441 then IB 787 at Madrid
Lisbon → Madrid → Berlin
Timetable, Madrid time
23:15FR 9441 from Lisbon at the gate
20:05IB 787 to Berlin leaves the gatealso LA 1540, VY 5167
20 h 50 apart on the timetable, overnight
IB 787 leaves 20 h 50 after FR 9441 arrives on the timetable: more than half a day, so not a connection we count.