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