FR 9840 then TK 1760 at Lisbon
Cologne → Lisbon → Istanbul
Timetable, Lisbon time
23:30FR 9840 from Cologne at the gate
16:10TK 1760 to Istanbul leaves the gate
16 h 40 apart on the timetable, overnight
TK 1760 leaves 16 h 40 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.