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