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