FR 6301 then FR 7959 at Barcelona
Sofia → Barcelona → Cork
Timetable, Barcelona time
23:15FR 6301 from Sofia at the gate
17:30FR 7959 to Cork leaves the gate
18 h 15 apart on the timetable, overnight
FR 7959 leaves 18 h 15 after FR 6301 arrives on the timetable: more than half a day, so not a connection we count.