FR 2897 then FR 6394 at Barcelona
Palma de Mallorca → Barcelona → Dublin
Timetable, Barcelona time
13:30FR 2897 from Palma de Mallorca at the gate
10:30FR 6394 to Dublin leaves the gate
21 h apart on the timetable, overnight
FR 6394 leaves 21 h after FR 2897 arrives on the timetable: more than half a day, so not a connection we count.