EW 4398 then EC 7694 at Barcelona
Salzburg → Barcelona → Lisbon
Timetable, Barcelona time
15:55EW 4398 from Salzburg at the gate
15:30EC 7694 to Lisbon leaves the gate
23 h 35 apart on the timetable, overnight
EC 7694 leaves 23 h 35 after EW 4398 arrives on the timetable: more than half a day, so not a connection we count.