UA 942 then EW 8603 at Lisbon
Washington → Lisbon → Berlin
Timetable, Lisbon time
10:20UA 942 from Washington at the gate
10:15EW 8603 to Berlin leaves the gate
23 h 55 apart on the timetable, overnight
EW 8603 leaves 23 h 55 after UA 942 arrives on the timetable: more than half a day, so not a connection we count.