FR 9840 then VY 1147 at Lisbon
Cologne → Lisbon → Barcelona
Timetable, Lisbon time
23:30FR 9840 from Cologne at the gate
14:05VY 1147 to Barcelona leaves the gate
14 h 35 apart on the timetable, overnight
VY 1147 leaves 14 h 35 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.