FR 9840 then TP 1064 at Lisbon
Cologne → Lisbon → Bilbao
Timetable, Lisbon time
22:40FR 9840 from Cologne at the gate
15:20TP 1064 to Bilbao leaves the gate
16 h 40 apart on the timetable, overnight
TP 1064 leaves 16 h 40 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.