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