FR 2897 then FR 149 at Barcelona
Palma de Mallorca → Barcelona → Berlin
Timetable, Barcelona time
16:45FR 2897 from Palma de Mallorca at the gate
14:20FR 149 to Berlin leaves the gate
21 h 35 apart on the timetable, overnight
FR 149 leaves 21 h 35 after FR 2897 arrives on the timetable: more than half a day, so not a connection we count.