FR 789 then VY 1149 at Lisbon
Bologna → Lisbon → Barcelona
Timetable, Lisbon time
18:15FR 789 from Bologna at the gate
17:40VY 1149 to Barcelona leaves the gate
23 h 25 apart on the timetable, overnight
VY 1149 leaves 23 h 25 after FR 789 arrives on the timetable: more than half a day, so not a connection we count.