W4 6017 then EC 7682 at Barcelona
Rome → Barcelona → Lisbon
Timetable, Barcelona time
09:15W4 6017 from Rome at the gate
21:55EC 7682 to Lisbon leaves the gate
12 h 40 apart on the timetable
EC 7682 leaves 12 h 40 after W4 6017 arrives on the timetable: more than half a day, so not a connection we count.