FR 3040 then TK 1856 at Barcelona
Prague → Barcelona → Istanbul
Timetable, Barcelona time
22:40FR 3040 from Prague at the gate
18:30TK 1856 to Istanbul leaves the gate
19 h 50 apart on the timetable, overnight
TK 1856 leaves 19 h 50 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.