FR 9840 then TP 1094 at Lisbon
Cologne → Lisbon → Valencia
Timetable, Lisbon time
23:30FR 9840 from Cologne at the gate
15:00TP 1094 to Valencia leaves the gate
15 h 30 apart on the timetable, overnight
TP 1094 leaves 15 h 30 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.