FR 7958 then TP 1037 at Barcelona
Cork → Barcelona → Lisbon
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
18:05TP 1037 to Lisbon leaves the gate
19 h 10 apart on the timetable, overnight
TP 1037 leaves 19 h 10 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.