FR 7958 then FR 2896 at Barcelona
Cork → Barcelona → Palma de Mallorca
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
17:20FR 2896 to Palma de Mallorca leaves the gate
18 h 25 apart on the timetable, overnight
FR 2896 leaves 18 h 25 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.