FR 3036 then TP 1039 at Barcelona
Krakow → Barcelona → Lisbon
Timetable, Barcelona time
23:40FR 3036 from Krakow at the gate
21:10TP 1039 to Lisbon leaves the gate
21 h 30 apart on the timetable, overnight
TP 1039 leaves 21 h 30 after FR 3036 arrives on the timetable: more than half a day, so not a connection we count.